test: check logs for assertion failures

This commit is contained in:
Miroslav Lichvar 2020-05-21 11:45:38 +02:00
parent a3fda9f992
commit bf92314dc4

View file

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