mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-25 15:01:22 +01:00
de7dfe5956
Removed get_partition_from_symlink()
20 lines
470 B
Bash
20 lines
470 B
Bash
# run-shellcheck
|
|
test_audit() {
|
|
describe Running on blank host
|
|
register_test retvalshouldbe 1
|
|
dismiss_count_for_test
|
|
# shellcheck disable=2154
|
|
run blank /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
|
|
|
|
ln -s /dev/shm /run/shm
|
|
|
|
describe Partition symlink
|
|
register_test retvalshouldbe 1
|
|
run resolved /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
|
|
|
|
# Cleanup
|
|
rm /run/shm
|
|
|
|
# TODO fill comprehensive tests
|
|
}
|