From ef575ef20d09f20722e26b45dab80b3620469687 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Mon, 16 Feb 2015 22:18:34 +0000 Subject: upstream commit unit tests for hostfile.c code, just hostkeys_foreach so far --- regress/unittests/hostkeys/tests.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 regress/unittests/hostkeys/tests.c (limited to 'regress/unittests/hostkeys/tests.c') diff --git a/regress/unittests/hostkeys/tests.c b/regress/unittests/hostkeys/tests.c new file mode 100644 index 000000000..92c7646ad --- /dev/null +++ b/regress/unittests/hostkeys/tests.c @@ -0,0 +1,16 @@ +/* $OpenBSD: tests.c,v 1.1 2015/02/16 22:18:34 djm Exp $ */ +/* + * Regress test for known_hosts-related API. + * + * Placed in the public domain + */ + +void tests(void); +void test_iterate(void); /* test_iterate.c */ + +void +tests(void) +{ + test_iterate(); +} + -- cgit v1.2.3