test: check for maxchange message in check_chronyd_exit()

This commit is contained in:
Miroslav Lichvar 2017-10-11 17:10:04 +02:00
parent f35c81c871
commit b45d864f73

View file

@ -251,6 +251,7 @@ check_chronyd_exit() {
test_message 3 0 "node $i:"
tail -n 1 tmp/log.$i | grep -q 'chronyd exiting' && \
! grep -q 'Adjustment.*exceeds.*exiting' tmp/log.$i && \
test_ok || test_bad
[ $? -eq 0 ] || ret=1
done