We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 329346b commit f3eb135Copy full SHA for f3eb135
test.sh
@@ -11,7 +11,7 @@ SKIPS_ARG=${SKIPS_ARG:-}
11
REDIS_DOCKER=${REDIS_DOCKER:-}
12
13
# We need to enable the DEBUG command for redis-server >= 7.0.0
14
-REDIS_MAJOR_VERSION="$(redis-server --version|awk -F'[^0-9]+' '{ print $2 }')"
+REDIS_MAJOR_VERSION="$(${REDIS_SERVER} --version|awk -F'[^0-9]+' '{ print $2 }')"
15
if [ "$REDIS_MAJOR_VERSION" -gt "6" ]; then
16
ENABLE_DEBUG_CMD="enable-debug-command local"
17
fi
@@ -98,7 +98,7 @@ if [ -n "${REDIS_DOCKER}" ] ; then
98
-p ${REDIS_SSL_PORT}:${REDIS_SSL_PORT} \
99
-v ${tmpdir}:${tmpdir} \
100
${REDIS_DOCKER} \
101
- redis-server ${tmpdir}/redis.conf
+ ${REDIS_SERVER} ${tmpdir}/redis.conf
102
else
103
${REDIS_SERVER} ${tmpdir}/redis.conf
104
0 commit comments