diff options
Diffstat (limited to 'include/tests_filesystems')
-rw-r--r-- | include/tests_filesystems | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/tests_filesystems b/include/tests_filesystems index 2d36a2a0..86c7e167 100644 --- a/include/tests_filesystems +++ b/include/tests_filesystems @@ -244,7 +244,7 @@ if [ ${SKIPTEST} -eq 0 ]; then logtext "Test: Searching for old files in /tmp..." # Search for files only in /tmp, with an access time older than X days - FIND=`find /tmp -type f -atime +${TMP_OLD_DAYS} | sed 's/ /!space!/g'` + FIND=`find /tmp -type f -atime +${TMP_OLD_DAYS} 2> /dev/null | sed 's/ /!space!/g'` if [ "${FIND}" = "" ]; then Display --indent 2 --text "- Checking for old files in /tmp..." --result OK --color GREEN logtext "Result: no files found in /tmp which are older than 3 months" @@ -261,8 +261,7 @@ logtext "private information and should be deleted it not being used actively. Use a tool like lsof to" logtext "see which programs possibly are using a particular file. Some systems can cleanup temporary" logtext "directories by setting a boot option." - ReportWarning ${TEST_NO} "L" "Found ${N} files in /tmp which are older than ${TMP_OLD_DAYS} days" - ReportSuggestion ${TEST_NO} "Clean up unused files in /tmp" + ReportSuggestion ${TEST_NO} "L" "Check ${N} files in /tmp which are older than ${TMP_OLD_DAYS} days" fi fi # @@ -335,7 +334,7 @@ # # Test : FILE-6368 # Description : Checking Linux root file system ACL support - Register --test-no FILE-6368 --os Linux --weight L --network NO --description "Checking ACL support on root file system" + Register --test-no FILE-6368 --os Linux --weight L --network NO --root-only YES --description "Checking ACL support on root file system" if [ ${SKIPTEST} -eq 0 ]; then FOUND=0 logtext "Test: Checking acl option on root file system" |