diff --git a/include/tests_databases b/include/tests_databases index 34bace85..bcf0a3a6 100644 --- a/include/tests_databases +++ b/include/tests_databases @@ -302,8 +302,8 @@ if [ ${QNAP_DEVICE} -eq 1 ]; then PATHS="${PATHS} ${ROOTDIR}share/CACHEDEV1_DATA/.qpkg/QKVM/usr/etc/redis.conf" fi - if [ -d "/snap" ]; then - for SNAP_PATH in $(${FINDBINARY} /snap -name 'redis.conf' -type f | ${SEDBINARY} 's/redis.conf$//g'); do + if [ -d "${ROOTDIR}snap" ]; then + for SNAP_PATH in $(${FINDBINARY} ${ROOTDIR}snap -name 'redis.conf' -type f | ${SEDBINARY} 's/redis.conf$//g'); do PATHS="${PATHS} ${SNAP_PATH}" done fi