]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: check logs for assertion failures
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 21 May 2020 09:45:38 +0000 (11:45 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 21 May 2020 10:42:18 +0000 (12:42 +0200)
test/simulation/test.common

index 1097c4974d4a95ef4d8c9e4830b030549a9db723..15745fdd8362ab4a451b27fb8c342329f939e807 100644 (file)
@@ -276,6 +276,7 @@ check_chronyd_exit() {
 
                grep -q 'chronyd exiting' tmp/log.$i && \
                        ! grep -q 'Adjustment.*exceeds.*exiting' tmp/log.$i && \
+                       ! grep -q 'Assertion.*failed' tmp/log.$i && \
                        test_ok || test_bad
                [ $? -eq 0 ] || ret=1
        done