From 6cbe8f572fff02cfc5cc006958025cbda01cb6d2 Mon Sep 17 00:00:00 2001 From: Charles Herlin Date: Mon, 18 Feb 2019 18:10:22 +0100 Subject: [PATCH] CHORE(tests): Cleanup test files --- tests/hardening/99.1_timeout_tty.sh | 3 +++ tests/hardening/99.2_disable_usb_devices.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/hardening/99.1_timeout_tty.sh b/tests/hardening/99.1_timeout_tty.sh index 0b57e6a..da5c079 100644 --- a/tests/hardening/99.1_timeout_tty.sh +++ b/tests/hardening/99.1_timeout_tty.sh @@ -13,4 +13,7 @@ test_audit() { run compliant /opt/debian-cis/bin/hardening/"${script}".sh --audit-all # TODO fill comprehensive tests + + # Cleanup + rm /etc/profile.d/CIS_99.1_timeout.sh } diff --git a/tests/hardening/99.2_disable_usb_devices.sh b/tests/hardening/99.2_disable_usb_devices.sh index 5226d33..9dcf3ce 100644 --- a/tests/hardening/99.2_disable_usb_devices.sh +++ b/tests/hardening/99.2_disable_usb_devices.sh @@ -17,4 +17,7 @@ test_audit() { run compliant /opt/debian-cis/bin/hardening/"${script}".sh --audit-all # TODO fill comprehensive tests + + # Cleanup + rm /etc/udev/rules.d/10-CIS_99.2_usb_devices.sh }