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