diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2018-09-19 14:29:03 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2018-09-19 14:29:03 +0300 |
commit | c50db85aaac5b4b582ef5cff25ce2369af90d15e (patch) | |
tree | caf1f1d0678a8b6738d5bf23c78f3d7d9ba49b5b | |
parent | c34c8265add8baa13557633ef549d63792d21a07 (diff) |
[DBS-1882] added support for QNAP path
-rw-r--r-- | include/tests_databases | 3 |
1 files changed, 3 insertions, 0 deletions
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 |