]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: make 139-nts more reliable
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 17 Mar 2020 14:56:31 +0000 (15:56 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 18 Mar 2020 11:23:26 +0000 (12:23 +0100)
test/simulation/139-nts

index aa5b0bda6af0c4551393dcc3186b7ce7eb8cf37c..e538fb8656aeecc0bbba11afda3680abfed01b2b 100755 (executable)
@@ -43,7 +43,7 @@ check_chronyd_exit || test_fail
 check_source_selection || test_fail
 check_sync || test_fail
 
-check_file_messages "20.*123\.1.* 111 111 1111" 91 93 measurements.log || test_fail
+check_file_messages "20.*123\.1.* 111 111 1111" 90 93 measurements.log || test_fail
 check_file_messages "20.*123\.1.* 111 001 0000" 30 32 measurements.log || test_fail
 rm -f tmp/measurements.log
 
@@ -55,11 +55,12 @@ check_chronyd_exit || test_fail
 check_source_selection || test_fail
 check_sync || test_fail
 
-check_file_messages "20.*123\.1.* 111 111 1111" 101 103 measurements.log || test_fail
+check_file_messages "20.*123\.1.* 111 111 1111" 99 103 measurements.log || test_fail
 check_file_messages "20.*123\.1.* 111 001 0000" 0 0 measurements.log || test_fail
 rm -f tmp/measurements.log
 
-client_conf=""
+client_conf="
+nosystemcert"
 
 run_test || test_fail
 check_chronyd_exit || test_fail