test options
This commit is contained in:
parent
9448b4b70b
commit
99c3d2aa3d
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,12 @@ rlJournalStart
|
|||
rlGetTestState && {
|
||||
rlPhaseStartTest
|
||||
rlRun "ntpstat" 0 "ntpstat runs"
|
||||
rlRun "ntpstat | grep 'synchronised'" 0 "ntpstat displays sync message"
|
||||
rlRun "ntpstat | grep 'correct'" 0 "ntpstat shows some relevant info"
|
||||
rlRun "ntpstat | grep 'polling'" 0 "ntpstat shows some relevant info"
|
||||
rlRun "ntpstat -h" 0 "help message works"
|
||||
rlRun "ntpstat -m 0 | grep 'exceeded maximum'" 0 "ntpstat honors -m option"
|
||||
rlRun "ntpstat -m 1000 | grep 'exceeded maximum'" 1 "ntpstat honors -m option"
|
||||
rlPhaseEnd
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue