]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: update 007-cmdmon system test for recent changes
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Mar 2022 14:54:08 +0000 (15:54 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Mar 2022 15:00:20 +0000 (16:00 +0100)
The new unsynchronised source state is now reported in selectdata before
the first measurement.

Fixes: c29f8888c767 ("sources: handle unsynchronized sources in selection")
test/system/007-cmdmon

index bbcc12f046c17de9c5b2a660ca58d1fb9c5d4bfd..a5931d6357703c8472669fe795b781e275dbf486 100755 (executable)
@@ -100,7 +100,7 @@ Total valid RX  : [0-9]+$" || test_fail
 run_chronyc "selectdata" || test_fail
 check_chronyc_output "^S Name/IP Address        Auth COpts EOpts Last Score     Interval  Leap
 =======================================================================
-M 127\.0\.0\.1                 N ----- -----    0   1\.0    \+0ns    \+0ns  \?$" || test_fail
+s 127\.0\.0\.1                 N ----- -----    0   1\.0    \+0ns    \+0ns  \?$" || test_fail
 
 run_chronyc "serverstats" || test_fail
 check_chronyc_output "^NTP packets received       : [0-9]+