mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-19 16:40:15 +00:00
161a5378a3
OpenBSD-Regress-ID: 01f8fb12d08e5aaadd4bd4e71f456b6588be9a94
42 lines
689 B
C
42 lines
689 B
C
/* $OpenBSD: tests.c,v 1.10 2023/01/06 02:59:50 djm Exp $ */
|
|
/*
|
|
* Regress test for misc helper functions.
|
|
*
|
|
* Placed in the public domain.
|
|
*/
|
|
|
|
#include "includes.h"
|
|
|
|
#include <sys/types.h>
|
|
#include <stdio.h>
|
|
#ifdef HAVE_STDINT_H
|
|
#include <stdint.h>
|
|
#endif
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
#include "../test_helper/test_helper.h"
|
|
|
|
#include "log.h"
|
|
#include "misc.h"
|
|
|
|
void test_parse(void);
|
|
void test_convtime(void);
|
|
void test_expand(void);
|
|
void test_argv(void);
|
|
void test_strdelim(void);
|
|
void test_hpdelim(void);
|
|
void test_ptimeout(void);
|
|
|
|
void
|
|
tests(void)
|
|
{
|
|
test_parse();
|
|
test_convtime();
|
|
test_expand();
|
|
test_argv();
|
|
test_strdelim();
|
|
test_hpdelim();
|
|
test_ptimeout();
|
|
}
|