summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/tests/libntp/statestr.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2016-01-11 01:09:50 +0000
committerglebius <glebius@FreeBSD.org>2016-01-11 01:09:50 +0000
commitc41fbaf9bc76f0b7650e448fbd88d0a9815f47fd (patch)
tree3b45c8e63a37b132f0fe10c570b8302052c547de /contrib/ntp/tests/libntp/statestr.c
parent3066f138bc3bf99f5cf6ec9412903d206c329cc7 (diff)
downloadFreeBSD-src-c41fbaf9bc76f0b7650e448fbd88d0a9815f47fd.zip
FreeBSD-src-c41fbaf9bc76f0b7650e448fbd88d0a9815f47fd.tar.gz
Merge r293423, r293469:
ntp 4.2.8p5 Relnotes: yes
Diffstat (limited to 'contrib/ntp/tests/libntp/statestr.c')
-rw-r--r--contrib/ntp/tests/libntp/statestr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/ntp/tests/libntp/statestr.c b/contrib/ntp/tests/libntp/statestr.c
index 810ee6b..e7a1bd7 100644
--- a/contrib/ntp/tests/libntp/statestr.c
+++ b/contrib/ntp/tests/libntp/statestr.c
@@ -6,11 +6,22 @@
#include "unity.h"
+void setUp(void);
void test_PeerRestart(void);
void test_SysUnspecified(void);
void test_ClockCodeExists(void);
void test_ClockCodeUnknown(void);
+
+void
+setUp(void)
+{
+ init_lib();
+
+ return;
+}
+
+
// eventstr()
void
test_PeerRestart(void) {
OpenPOWER on IntegriCloud