]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in. HMurray
authorHarlan Stenn <stenn@ntp.org>
Wed, 4 Nov 2015 10:02:25 +0000 (10:02 +0000)
committerHarlan Stenn <stenn@ntp.org>
Wed, 4 Nov 2015 10:02:25 +0000 (10:02 +0000)
bk: 5639d7b1g5Jt6gycojBcDQgnRs0OHw

ChangeLog
tests/ntpd/t-ntp_scanner.c

index 22e406a2194a0d88a2789d25cba52647e4aa407b..b170d63fd58af327f9f686079588ea108eb235f9 100644 (file)
--- 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
index 9bc77c4d659112d9aac5d67b1dd7ac6cac178b46..bf6794d4c7e4a75b2a62b6e58700b1e4975a6629 100644 (file)
@@ -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);
 }