Merge pull request #39 from aneeshusa/check-locate-preqs

Prevent the locate test from running spuriously when locate is not present.
This commit is contained in:
Michael Boelen 2015-07-14 00:55:47 +02:00
commit 4266992f6b
1 changed files with 1 additions and 1 deletions

View File

@ -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