diff options
Diffstat (limited to 'include/tests_homedirs')
-rw-r--r-- | include/tests_homedirs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_homedirs b/include/tests_homedirs index ce300f58..8944e33a 100644 --- a/include/tests_homedirs +++ b/include/tests_homedirs @@ -92,11 +92,11 @@ # Description : Scan home directories for specific files, used in different tests later # Notes : For performance reasons we combine the scanning of different files, so inode caching is used # as much as possible for every find command - # Profile opt : ignore_home_dir (multiple lines allowed), ignores home directory + # Profile opt : ignore-home-dir (multiple lines allowed), ignores home directory if [ ! -z "${REPORTFILE}" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi Register --test-no HOME-9350 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Collecting information from home directories" if [ ${SKIPTEST} -eq 0 ]; then - IGNORE_HOME_DIRS=$(${GREPBINARY} "^config:ignore_home_dir:" ${PROFILE} | ${AWKBINARY} -F: '{ print $3 }') + IGNORE_HOME_DIRS=$(${GREPBINARY} "^ignore-home-dir[]=" ${REPORTFILE} | ${AWKBINARY} -F= '{ print $2 }') if [ -z "${IGNORE_HOME_DIRS}" ]; then LogText "Result: IGNORE_HOME_DIRS empty, no paths excluded" else |