FIX(tests): change sed to audit in test skeleton after 81f9348

This commit is contained in:
Charles Herlin 2019-02-21 18:07:21 +01:00
parent 52ad81a981
commit 78fe87ab63

View File

@ -24,7 +24,7 @@ test_audit() {
describe Correcting situation
# if the audit script provides "apply" option, enable and run it
sed -i 's/disabled/enabled/' /opt/debian-cis/etc/conf.d/"${script}".cfg
sed -i 's/audit/enabled/' /opt/debian-cis/etc/conf.d/"${script}".cfg
/opt/debian-cis/bin/hardening/"${script}".sh || true
# otherwise perform action that will make system compliant again