Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2015-09-24 21:27:49 +0300
committermboelen <michael@cisofy.com>2015-09-24 21:27:49 +0300
commit5fe1e6dd656424aa850838292f2d343424a165e8 (patch)
tree339892605ba581ce687eaf0ec06bfbebd47ec320 /include/tests_logging
parent41e08807c916119a9d196d58fb1a436594ff550a (diff)
Corrected logging for tests related to /etc/newsyslog.conf parsing
Diffstat (limited to 'include/tests_logging')
-rw-r--r--include/tests_logging6
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