Fw: [Git][NTPsec/ntpsec][master] Setup to help testing leap seconds
Gary E. Miller
gem at rellim.com
Sat Mar 18 18:58:49 UTC 2017
Yo Hal!
> --enable-leap-testing to waf configure
> allows leaps at other than 1st day of a month
I'm not a fan of needing configuration changes for testing.
Is there another way to do this?
This way the test will be rarely run, and for people that enable
this test their ntpd may now emit leap seconds on wrong days.
It also make it not possible to test that the 1st day check can not
be tested.
A lot of the current NTP tests link into the library and then
call the library functions with test data. If you do that then
no config option needed, you can test for the lockout and that
valid dates work.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170318/defc5bd3/attachment.html>
-------------- next part --------------
_______________________________________________
vc mailing list
vc at ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/vc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170318/defc5bd3/attachment.bin>
More information about the devel
mailing list