debian-cis/tests/hardening/1.5.1_restrict_core_dumps.sh

16 lines
396 B
Bash
Raw Normal View History

# shellcheck shell=bash
# run-shellcheck
test_audit() {
2020-10-27 14:29:13 +01:00
if [ -f "/.dockerenv" ]; then
skip "SKIPPED on docker"
else
2020-12-04 14:08:01 +01:00
describe Running on blank host
register_test retvalshouldbe 0
dismiss_count_for_test
# shellcheck disable=2154
run blank /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
# TODO fill comprehensive tests
2020-10-27 14:29:13 +01:00
fi
}