test: make 007-cmdmon test more reliable
This commit is contained in:
parent
642173e864
commit
df43ebe9e0
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,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 [1-9] 0 - - [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
|
||||
|
@ -75,7 +75,7 @@ Leap status : Normal
|
|||
Version : 4
|
||||
Mode : Server
|
||||
Stratum : 10
|
||||
Poll interval : -6 \(0 seconds\)
|
||||
Poll interval : (-6|[0345]) \([0-9]+ seconds\)
|
||||
Precision : [0-9 +-]+ \(0\.[0-9]+ seconds\)
|
||||
Root delay : 0\.000000 seconds
|
||||
Root dispersion : 0\.000000 seconds
|
||||
|
|
Loading…
Reference in a new issue