mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 23:15:07 -05:00
test: update log checks in system tests
Measurements are no longer accepted and clock updated when polling
itself.
This fixes commit 7a88e0a87b.
This commit is contained in:
@@ -313,11 +313,8 @@ check_chronyd_message_count() {
|
||||
check_chronyd_files() {
|
||||
test_message 1 0 "checking chronyd files"
|
||||
|
||||
grep -q " $server .* 111 111 1111 " "$TEST_LOGDIR/measurements.log" && \
|
||||
grep -q " $server " "$TEST_LOGDIR/statistics.log" && \
|
||||
grep -q " $server " "$TEST_LOGDIR/tracking.log" && \
|
||||
grep -q " $server .* 111 111 1110 " "$TEST_LOGDIR/measurements.log" && \
|
||||
[ -f "$TEST_LOGDIR/tempcomp.log" ] && [ "$(wc -l < "$TEST_LOGDIR/tempcomp.log")" -ge 2 ] && \
|
||||
[ -f "$TEST_RUNDIR/$server.dat" ] && [ "$(wc -l < "$TEST_RUNDIR/$server.dat")" -ge 5 ] && \
|
||||
test_ok || test_bad
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user