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:
authorAneesh Agrawal <aneeshusa@gmail.com>2015-04-27 10:31:43 +0300
committerAneesh Agrawal <aneeshusa@gmail.com>2015-04-27 10:31:43 +0300
commitbfd24585cf880613c63b6bf77437ce85f72569fb (patch)
tree7ab3c1962536520e76f3327003ff7b99297fee1a
parent474d69dfd651fb157c757110cf2a7124f8f8f729 (diff)
Pass information about locate prereqs to Register.
Prevent the locate test from running spuriously when locate is not present
-rw-r--r--include/tests_filesystems2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_filesystems b/include/tests_filesystems
index 6d9453da..426bef35 100644
--- a/include/tests_filesystems
+++ b/include/tests_filesystems
@@ -538,7 +538,7 @@
# or /var/cache/locate/locatedb
# FreeBSD /var/db/locate.database
if [ ! "${LOCATEBINARY}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
- Register --test-no FILE-6410 --os Linux --weight L --network NO --description "Checking Locate database"
+ Register --test-no FILE-6410 --preqs-met ${PREQS_MET} --os Linux --weight L --network NO --description "Checking Locate database"
if [ ${SKIPTEST} -eq 0 ]; then
logtext "Test: Checking locate database"
FOUND=0