1 /* $OpenBSD: tests.c,v 1.9 2022/02/04 07:53:44 dtucker 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 <stdio.h> 12 #ifdef HAVE_STDINT_H 13 #include <stdint.h> 14 #endif 15 #include <stdlib.h> 16 #include <string.h> 17 18 #include "../test_helper/test_helper.h" 19 20 #include "log.h" 21 #include "misc.h" 22 23 void test_parse(void); 24 void test_convtime(void); 25 void test_expand(void); 26 void test_argv(void); 27 void test_strdelim(void); 28 void test_hpdelim(void); 29 30 void 31 tests(void) 32 { 33 test_parse(); 34 test_convtime(); 35 test_expand(); 36 test_argv(); 37 test_strdelim(); 38 test_hpdelim(); 39 } 40