From: Harlan Stenn Date: Wed, 4 Nov 2015 10:02:25 +0000 (+0000) Subject: [Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in. HMurray X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffbd597ac2382526cef5486039fec768b0ffdb67;p=thirdparty%2Fntp.git [Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in. HMurray bk: 5639d7b1g5Jt6gycojBcDQgnRs0OHw --- diff --git a/ChangeLog b/ChangeLog index 22e406a21..b170d63fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ --- -* [Sec 2956] small-step/big-step. Close the panic gate earlier. +* [Sec 2956] small-step/big-step. Close the panic gate earlier. HStenn. +* [Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in. HMurray * [Bug 2954] Version 4.2.8p4 crashes on startup with sig fault - fixed data race conditions in threaded DNS worker. perlinger@ntp.org - limit threading warm-up to linux; FreeBSD bombs on it. perlinger@ntp.org diff --git a/tests/ntpd/t-ntp_scanner.c b/tests/ntpd/t-ntp_scanner.c index 9bc77c4d6..bf6794d4c 100644 --- a/tests/ntpd/t-ntp_scanner.c +++ b/tests/ntpd/t-ntp_scanner.c @@ -32,7 +32,7 @@ void test_keywordIncorrectToken(void){ } void test_keywordServerToken(void){ - char * temp = keyword(401); + char * temp = keyword(T_Server); //printf("%s",temp); //143 or 401 ? TEST_ASSERT_EQUAL_STRING("server",temp); }