diff options
author | mboelen <michael@cisofy.com> | 2015-09-24 21:27:49 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-09-24 21:27:49 +0300 |
commit | 5fe1e6dd656424aa850838292f2d343424a165e8 (patch) | |
tree | 339892605ba581ce687eaf0ec06bfbebd47ec320 /include/tests_logging | |
parent | 41e08807c916119a9d196d58fb1a436594ff550a (diff) |
Corrected logging for tests related to /etc/newsyslog.conf parsing
Diffstat (limited to 'include/tests_logging')
-rw-r--r-- | include/tests_logging | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tests_logging b/include/tests_logging index 707b6948..5d7421bf 100644 --- a/include/tests_logging +++ b/include/tests_logging @@ -377,7 +377,7 @@ # Test : LOGG-2162 # Description : Check for directories in /etc/newsyslog.conf if [ -f /etc/newsyslog.conf ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi - Register --test-no LOGG-2162 --preqs-met ${PREQS_MET} --weight L --network NO --description "Checking /etc/newsyslog.conf" + Register --test-no LOGG-2162 --preqs-met ${PREQS_MET} --weight L --network NO --description "Checking directories in /etc/newsyslog.conf" if [ ${SKIPTEST} -eq 0 ]; then logtext "Test: parsing directories from /etc/newsyslog.conf file" FIND=`cat /etc/newsyslog.conf | sort | uniq | grep "^/" | awk '{ print $1 }' | sed 's/\/*[a-zA-Z_.-]*$//g' | sort | uniq` @@ -397,9 +397,9 @@ # Test : LOGG-2164 # Description : Check for files in /etc/newsyslog.conf if [ -f /etc/newsyslog.conf ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi - Register --test-no LOGG-2164 --preqs-met ${PREQS_MET} --weight L --network NO --description "Checking /etc/newsyslog.conf" + Register --test-no LOGG-2164 --preqs-met ${PREQS_MET} --weight L --network NO --description "Checking files specified /etc/newsyslog.conf" if [ ${SKIPTEST} -eq 0 ]; then - logtext "Test: parsing directories from /etc/newsyslog.conf file" + logtext "Test: parsing files from /etc/newsyslog.conf file" FIND=`cat /etc/newsyslog.conf | sort | uniq | grep "^/" | awk '{ print $1 }'` for I in ${FIND}; do if [ -f ${I} ]; then |