From a0f460569eae04ee491585b7a9cc7dc2eec44d64 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 27 Oct 2025 15:57:05 +0100 Subject: [PATCH] test: make 007-cmdmon test even more reliable The last hit value in the clients report may be "-", because there is a backward step of the clock caused by the doffset and reset sources commands. --- test/system/007-cmdmon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/system/007-cmdmon b/test/system/007-cmdmon index 4660ffad..3fd88fa3 100755 --- a/test/system/007-cmdmon +++ b/test/system/007-cmdmon @@ -68,7 +68,7 @@ check_chronyc_output "^Name/IP address Mode KeyID Type KLen Last Atm run_chronyc "clients" || test_fail check_chronyc_output "^Hostname NTP Drop Int IntL Last Cmd Drop Int Last =============================================================================== -.*127\.0\.0\.1 [0-9 ]+ 0 [-0-9 ]+ - [ 0-9]+ 0 0 - -.*$" \ +.*127\.0\.0\.1 [0-9 ]+ 0 [-0-9 ]+ - [-0-9 ]+ 0 0 - -.*$" \ || test_fail run_chronyc "ntpdata $server" || test_fail -- 2.47.3