[Git][NTPsec/ntpsec][tests_numtoa] Fixed error in test adjustment: GPS != GPSD.

Ian Bruene gitlab at mg.gitlab.com
Mon Jul 30 18:23:56 UTC 2018


Ian Bruene pushed to branch tests_numtoa at NTPsec / ntpsec


Commits:
a4c0160f by Ian Bruene at 2018-07-30T18:23:08Z
Fixed error in test adjustment: GPS != GPSD.

- - - - -


1 changed file:

- tests/libntp/numtoa.c


Changes:

=====================================
tests/libntp/numtoa.c
=====================================
@@ -32,8 +32,8 @@ TEST(numtoa, RefidStr) {
 	res = refid_str(0x11223344, 8);
 	TEST_ASSERT_EQUAL_STRING("68.51.34.17", res);
 	// Test !(stratum > 1)
-	res = refid_str(0x44535047, 0);
-	TEST_ASSERT_EQUAL_STRING(".GPSD.", res);
+	res = refid_str(0x535047, 0);
+	TEST_ASSERT_EQUAL_STRING(".GPS.", res);
 }
 
 TEST_GROUP_RUNNER(numtoa) {



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a4c0160f749bb4ccbf8aab609aa110ca977c73b2

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a4c0160f749bb4ccbf8aab609aa110ca977c73b2
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180730/fc321136/attachment.html>


More information about the vc mailing list