diff options
Diffstat (limited to 'tests/libntp/run-decodenetnum.c')
-rw-r--r-- | tests/libntp/run-decodenetnum.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/libntp/run-decodenetnum.c b/tests/libntp/run-decodenetnum.c index d41f93eb4f3da..aef1fdaa24d1e 100644 --- a/tests/libntp/run-decodenetnum.c +++ b/tests/libntp/run-decodenetnum.c @@ -37,6 +37,13 @@ extern void test_IllegalAddress(void); extern void test_IllegalCharInPort(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) @@ -52,6 +59,7 @@ char const *progname; int main(int argc, char *argv[]) { progname = argv[0]; + suite_setup(); UnityBegin("decodenetnum.c"); RUN_TEST(test_IPv4AddressOnly, 8); RUN_TEST(test_IPv4AddressWithPort, 9); |