From c50db85aaac5b4b582ef5cff25ce2369af90d15e Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 19 Sep 2018 13:29:03 +0200 Subject: [PATCH] [DBS-1882] added support for QNAP path --- include/tests_databases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/tests_databases b/include/tests_databases index 370078b7..fdf31d33 100644 --- a/include/tests_databases +++ b/include/tests_databases @@ -260,6 +260,9 @@ Register --test-no DBS-1882 --weight L --network NO --preqs-met "${PREQS_MET}" --skip-reason "${SKIPREASON}" --category security --description "Redis configuration file" if [ ${SKIPTEST} -eq 0 ]; then PATHS="${ROOTDIR}etc/redis ${ROOTDIR}usr/local/etc/redis ${ROOTDIR}usr/local/redis/etc" + if [ ${QNAP_DEVICE} -eq 1 ]; then + PATHS="${PATHS} ${ROOTDIR}share/CACHEDEV1_DATA/.qpkg/QKVM/usr/etc/redis.conf" + fi ALLFILES=$(${LSBINARY} ${ROOTDIR}etc/redis.conf 2> /dev/null) FOUND=0 for DIR in ${PATHS}; do