Make time test 3106 work again (#239)

There was a little typo in the test
This commit is contained in:
n[oO]ne 2016-07-25 09:59:41 +02:00 committed by Michael Boelen
parent 37763dcf4f
commit 7dbe80c7a4
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@
Register --test-no TIME-3106 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check systemd NTP time synchronization status"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: Check the status of time synchronization via timedatectl"
FIND=`${TIMEDATECTL} status | grep "NTP sychronized: yes"`
FIND=`${TIMEDATECTL} status | grep "NTP synchronized: yes"`
if [ "${FIND}" = "" ]; then
LogText "Result: time not synchronized via NTP"
ReportSuggestion "${TEST_NO}" "Check timedatectl output. Sychronization via NTP is enabled, but status reflects it is not synchronized"