Skip to content

Commit

Permalink
add new test to test database
Browse files Browse the repository at this point in the history
  • Loading branch information
Varbin committed Jul 9, 2020
1 parent b2be7c1 commit 38b6105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions db/tests.db
Expand Up @@ -419,6 +419,7 @@ TIME-3170:test:security:time::Check configuration files:
TIME-3180:test:security:time::Report if ntpctl cannot communicate with OpenNTPD:
TIME-3181:test:security:time::Check status of OpenNTPD time synchronisation
TIME-3182:test:security:time::Check OpenNTPD has working peers
TIME-3185:test:security:time::Check systemd-timesyncd synchronized time
TOOL-5002:test:security:tooling::Checking for automation tools:
TOOL-5102:test:security:tooling::Check for presence of Fail2ban:
TOOL-5104:test:security:tooling::Enabled tests for Fail2ban:
Expand Down
2 changes: 1 addition & 1 deletion include/tests_time
Expand Up @@ -584,7 +584,7 @@
fi


Register --test-no TIME-3185 --preqs-met "${PREQS_MET}" --weight L --network NO --category "time" --description "Check systemd-timesyncd synchronized time"
Register --test-no TIME-3185 --preqs-met "${PREQS_MET}" --weight L --network NO --category "security" --description "Check systemd-timesyncd synchronized time"
if [ ${SKIPTEST} -eq 0 ]; then
if [ -e /run/systemd/timesync/synchronized ]; then
FIND=$(( $(date +%s) - $(stat -L --format %Y /run/systemd/timesync/synchronized) ))
Expand Down

0 comments on commit 38b6105

Please sign in to comment.