From d36436d5c9ee9be0314808098b2ef96e51b329be Mon Sep 17 00:00:00 2001 From: Damien Cavagnini Date: Wed, 18 Jun 2025 11:08:08 +0200 Subject: [PATCH] fix: add missing test 2.1.2_disable_bsd_intetd.sh --- tests/hardening/2.1.2_disable_bsd_inetd.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/hardening/2.1.2_disable_bsd_inetd.sh diff --git a/tests/hardening/2.1.2_disable_bsd_inetd.sh b/tests/hardening/2.1.2_disable_bsd_inetd.sh new file mode 100644 index 0000000..4ad9ef8 --- /dev/null +++ b/tests/hardening/2.1.2_disable_bsd_inetd.sh @@ -0,0 +1,16 @@ +# shellcheck shell=bash +# run-shellcheck +test_audit() { + describe Running on blank host + register_test retvalshouldbe 0 + dismiss_count_for_test + # shellcheck disable=2154 + run blank "${CIS_CHECKS_DIR}/${script}.sh" --audit-all + + ################################################################## + # For this test, we only check that it runs properly on a blank # + # host, and we check root/sudo consistency. But, we don't test # + # the apply function because it can't be automated or it is very # + # long to test and not very useful. # + ################################################################## +}