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:
authorMichael Boelen <michael@cisofy.com>2015-07-14 01:55:47 +0300
committerMichael Boelen <michael@cisofy.com>2015-07-14 01:55:47 +0300
commit4266992f6bc9167ce8a3b5e852904ec20db99f3b (patch)
tree17f233f85e6ed34a5993fd39d58490184f275fd8
parent6694add635b1b1e60c2704eaccf7ab87e81cf20c (diff)
parentbfd24585cf880613c63b6bf77437ce85f72569fb (diff)
Merge pull request #39 from aneeshusa/check-locate-preqs
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 e302a3e5..fd879565 100644
--- a/include/tests_filesystems
+++ b/include/tests_filesystems
@@ -563,7 +563,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