mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 18:53:42 +02:00
Replace CIS_ROOT_DIR by a more flexible system (#204)
* Replace CIS_ROOT_DIR by a more flexible system * Try to adapt the logic change to the functional tests
This commit is contained in:
@ -154,6 +154,8 @@ fi
|
||||
###################
|
||||
printf "\033[1;36m###\n### %s\n### \033[0m\n" "Starting debian-cis functional testing"
|
||||
|
||||
. /etc/default/cis-hardening
|
||||
|
||||
# if no scripts were passed as arguments, list all available test scenarii to be played
|
||||
if [ $# -eq 0 ]; then
|
||||
tests_list=$(ls -v "$(dirname "$0")"/hardening/)
|
||||
|
Reference in New Issue
Block a user