mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 02:33:42 +02:00
CHORE(2.1x): use "readlink -e" instead of custom func
Removed get_partition_from_symlink()
This commit is contained in:
@ -10,8 +10,10 @@ test_audit() {
|
||||
|
||||
describe Partition symlink
|
||||
register_test retvalshouldbe 1
|
||||
register_test contain "[WARN] /run/shm actually is /dev/shm"
|
||||
run resolved /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
|
||||
|
||||
# Cleanup
|
||||
rm /run/shm
|
||||
|
||||
# TODO fill comprehensive tests
|
||||
}
|
||||
|
@ -10,8 +10,10 @@ test_audit() {
|
||||
|
||||
describe Partition symlink
|
||||
register_test retvalshouldbe 1
|
||||
register_test contain "[WARN] /run/shm actually is /dev/shm"
|
||||
run resolved /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
|
||||
|
||||
# Cleanup
|
||||
rm /run/shm
|
||||
|
||||
# TODO fill comprehensive tests
|
||||
}
|
||||
|
@ -10,8 +10,10 @@ test_audit() {
|
||||
|
||||
describe Partition symlink
|
||||
register_test retvalshouldbe 1
|
||||
register_test contain "[WARN] /run/shm actually is /dev/shm"
|
||||
run resolved /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
|
||||
|
||||
# Cleanup
|
||||
rm /run/shm
|
||||
|
||||
# TODO fill comprehensive tests
|
||||
}
|
||||
|
Reference in New Issue
Block a user