mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 14:05:08 -05:00
test: make 007-cmdmon test more reliable
This commit is contained in:
@@ -64,7 +64,7 @@ check_chronyc_output "^Name/IP address Mode KeyID Type KLen Last Atm
|
|||||||
run_chronyc "clients" || test_fail
|
run_chronyc "clients" || test_fail
|
||||||
check_chronyc_output "^Hostname NTP Drop Int IntL Last Cmd Drop Int Last
|
check_chronyc_output "^Hostname NTP Drop Int IntL Last Cmd Drop Int Last
|
||||||
===============================================================================
|
===============================================================================
|
||||||
127\.0\.0\.1 [1-9] 0 - - [0-9] 0 0 - -$" \
|
127\.0\.0\.1 [0-9 ]+ 0 [-0-9 ]+ - [0-9] 0 0 - -$" \
|
||||||
|| test_fail
|
|| test_fail
|
||||||
|
|
||||||
run_chronyc "ntpdata $server" || test_fail
|
run_chronyc "ntpdata $server" || test_fail
|
||||||
@@ -75,7 +75,7 @@ Leap status : Normal
|
|||||||
Version : 4
|
Version : 4
|
||||||
Mode : Server
|
Mode : Server
|
||||||
Stratum : 10
|
Stratum : 10
|
||||||
Poll interval : -6 \(0 seconds\)
|
Poll interval : (-6|[0345]) \([0-9]+ seconds\)
|
||||||
Precision : [0-9 +-]+ \(0\.[0-9]+ seconds\)
|
Precision : [0-9 +-]+ \(0\.[0-9]+ seconds\)
|
||||||
Root delay : 0\.000000 seconds
|
Root delay : 0\.000000 seconds
|
||||||
Root dispersion : 0\.000000 seconds
|
Root dispersion : 0\.000000 seconds
|
||||||
|
|||||||
Reference in New Issue
Block a user