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 <sys/types.h> 9 #include <stdio.h> 10 #include <stdint.h> 11 #include <stdlib.h> 12 #include <string.h> 13 14 #include "test_helper.h" 15 16 #include "log.h" 17 #include "misc.h" 18 19 void test_parse(void); 20 void test_convtime(void); 21 void test_expand(void); 22 void test_argv(void); 23 void test_strdelim(void); 24 void test_hpdelim(void); 25 26 void 27 tests(void) 28 { 29 test_parse(); 30 test_convtime(); 31 test_expand(); 32 test_argv(); 33 test_strdelim(); 34 test_hpdelim(); 35 } 36