From bfd24585cf880613c63b6bf77437ce85f72569fb Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Mon, 27 Apr 2015 03:31:43 -0400 Subject: [PATCH] Pass information about locate prereqs to Register. Prevent the locate test from running spuriously when locate is not present --- include/tests_filesystems | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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