From 857d51ea8e31e73489a0b757d9a1a8251c89d609 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 1 Apr 2015 17:35:39 +0200 Subject: [PATCH] test: extend 113-leapsecond for leap smear --- test/simulation/113-leapsecond | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/simulation/113-leapsecond b/test/simulation/113-leapsecond index 0daf28b..af4b547 100755 --- a/test/simulation/113-leapsecond +++ b/test/simulation/113-leapsecond @@ -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