xref: /openbsd-src/regress/usr.bin/ssh/unittests/misc/tests.c (revision aa5c8e601cc4b4eb998a3e5708cfbd2ee1b7eb0f)
1 /* 	$OpenBSD: tests.c,v 1.10 2023/01/06 02:59:50 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 <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 void test_ptimeout(void);
26 
27 void
tests(void)28 tests(void)
29 {
30 	test_parse();
31 	test_convtime();
32 	test_expand();
33 	test_argv();
34 	test_strdelim();
35 	test_hpdelim();
36 	test_ptimeout();
37 }
38