diff --git a/test/simulation/106-refclock b/test/simulation/106-refclock index 46baee0..822fdc9 100755 --- a/test/simulation/106-refclock +++ b/test/simulation/106-refclock @@ -35,11 +35,7 @@ Root delay : 0.001000000 seconds Update interval : 16\.. seconds .*$" || test_fail - if echo "$refclock" | grep -q 'PHC.*nocrossts'; then - check_file_messages "20.* GPS.*[0-9] N " 620 750 refclocks.log || test_fail - else - check_file_messages "20.* GPS.*[0-9] N " 997 1001 refclocks.log || test_fail - fi + check_file_messages "20.* GPS.*[0-9] N " 997 1001 refclocks.log || test_fail check_file_messages "20.* GPS.*- N " 61 63 refclocks.log || test_fail rm -f tmp/refclocks.log done @@ -136,6 +132,7 @@ Root delay : 0\.000000001 seconds check_file_messages "20.* PPS0.*[0-9] N " 800 960 refclocks.log || test_fail check_file_messages "20.* PPS0.*- N " 50 63 refclocks.log || test_fail + rm -f tmp/refclocks.log fi export CLKNETSIM_PHC_JITTER_OFF=$[2 * 25 * 492] @@ -160,6 +157,7 @@ check_sync || test_fail check_chronyc_output "^MS.* =* #\* PHC0 0 0 377 8 .*$" || test_fail +rm -f tmp/refclocks.log unset CLKNETSIM_PHC_JITTER_OFF unset CLKNETSIM_PHC_JITTER_ON