diff options
| author | Xin LI <delphij@FreeBSD.org> | 2018-02-28 06:23:12 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2018-02-28 06:23:12 +0000 |
| commit | d14ac12f8738acac881f20b4d6244cfc22c68ead (patch) | |
| tree | 8888cc3c4a7235bf8abd28681330d20442bc3705 /tests/libntp/run-netof.c | |
| parent | 07ac48c3644021279e113d530764a231e27490a7 (diff) | |
Diffstat (limited to 'tests/libntp/run-netof.c')
| -rw-r--r-- | tests/libntp/run-netof.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/libntp/run-netof.c b/tests/libntp/run-netof.c index 9301b84b3fc0..c41630bc77d2 100644 --- a/tests/libntp/run-netof.c +++ b/tests/libntp/run-netof.c @@ -36,6 +36,13 @@ extern void test_ClassAAddress(void); extern void test_IPv6Address(void); +//=======Suite Setup===== +static void suite_setup(void) +{ +extern int change_logfile(const char*, int); +change_logfile("stderr", 0); +} + //=======Test Reset Option===== void resetTest(void); void resetTest(void) @@ -51,6 +58,7 @@ char const *progname; int main(int argc, char *argv[]) { progname = argv[0]; + suite_setup(); UnityBegin("netof.c"); RUN_TEST(test_ClassBAddress, 12); RUN_TEST(test_ClassCAddress, 13); |
