From e37446521d31205a59bb23e6768d91b3e8a533c8 Mon Sep 17 00:00:00 2001 From: dataking Date: Tue, 1 Sep 2015 11:50:07 -0700 Subject: [PATCH 1/2] include/tests_filesystems tweak --- include/tests_filesystems | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tests_filesystems b/include/tests_filesystems index 19e44669..e2c46e6c 100644 --- a/include/tests_filesystems +++ b/include/tests_filesystems @@ -297,7 +297,7 @@ 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" else - Display --indent 2 --text "- Checking for old files in /tmp" --result FOUND --color RED + Display --indent 2 --text "- Checking for old files in /tmp" --result WARNING --color RED N=0 for I in ${FIND}; do FILE=`echo ${I} | sed 's/!space!/ /g'` @@ -567,7 +567,7 @@ if [ ${SKIPTEST} -eq 0 ]; then logtext "Test: Checking locate database" FOUND=0 - LOCATE_DBS="/var/lib/mlocate/mlocate.db /var/lib/locatedb /var/lib/slocate/slocate.db /var/cache/locate/locatedb /var/db/locate.database" + LOCATE_DBS="/var/lib/mlocate/mlocate.db /var/lib/locate/locatedb /var/lib/locatedb /var/lib/slocate/slocate.db /var/cache/locate/locatedb /var/db/locate.database" for I in ${LOCATE_DBS}; do if [ -f ${I} ]; then logtext "Result: locate database found (${I})" From 12d9b38288c2a41b5bc9e32c1d10bb4f0c102c3e Mon Sep 17 00:00:00 2001 From: squid-cache-object Date: Thu, 3 Sep 2015 14:14:02 -0700 Subject: [PATCH 2/2] Update tests_filesystems --- include/tests_filesystems | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_filesystems b/include/tests_filesystems index e2c46e6c..8a26e4ac 100644 --- a/include/tests_filesystems +++ b/include/tests_filesystems @@ -297,7 +297,7 @@ 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" else - Display --indent 2 --text "- Checking for old files in /tmp" --result WARNING --color RED + Display --indent 2 --text "- Checking for old files in /tmp" --result FOUND --color RED N=0 for I in ${FIND}; do FILE=`echo ${I} | sed 's/!space!/ /g'`