1 /* $OpenBSD: tests.c,v 1.7 2021/05/21 03:48:07 djm Exp $ */ 2 /* 3 * Regress test for misc helper functions. 4 * 5 * Placed in the public domain. 6 */ 7 8 #include "includes.h" 9 10 #include <sys/types.h> 11 #include <sys/param.h> 12 #include <stdio.h> 13 #ifdef HAVE_STDINT_H 14 #include <stdint.h> 15 #endif 16 #include <stdlib.h> 17 #include <string.h> 18 19 #include "../test_helper/test_helper.h" 20 21 #include "log.h" 22 #include "misc.h" 23 24 void test_parse(void); 25 void test_convtime(void); 26 void test_expand(void); 27 void test_argv(void); 28 void test_strdelim(void); 29 30 void 31 tests(void) 32 { 33 test_parse(); 34 test_convtime(); 35 test_expand(); 36 test_argv(); 37 test_strdelim(); 38 } 39