]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: extend 113-leapsecond for leap smear
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 1 Apr 2015 15:35:39 +0000 (17:35 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 7 Apr 2015 08:51:07 +0000 (10:51 +0200)
test/simulation/113-leapsecond

index 0daf28b4c465b01a738eb58a5379b57dbdd17ce6..af4b547b88a0c846c6c3575ee8e71188950d21b9 100755 (executable)
@@ -27,4 +27,18 @@ for leapmode in system step slew; do
        check_sync || test_fail
 done
 
+server_conf="refclock SHM 0 dpoll 10 poll 10
+leapsectz right/UTC
+leapsecmode slew
+smoothtime 400 0.001"
+client_conf="leapsecmode system"
+min_sync_time=230000
+max_sync_time=240000
+
+run_test || test_fail
+check_chronyd_exit || test_fail
+check_source_selection || test_fail
+check_packet_interval || test_fail
+check_sync || test_fail
+
 test_pass