diff --git a/Sanity/basic-sanity/runtest.sh b/Sanity/basic-sanity/runtest.sh index ab1b486..81f389f 100755 --- a/Sanity/basic-sanity/runtest.sh +++ b/Sanity/basic-sanity/runtest.sh @@ -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 }