From 74e8d58b5c088be2c7e94122286b6b69bd35b0a1 Mon Sep 17 00:00:00 2001 From: landrigun Date: Fri, 14 Oct 2022 15:29:44 +0000 Subject: [PATCH] fix(tests): set URL default value if no one set --- tests/bash/curling.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/bash/curling.bash b/tests/bash/curling.bash index 0b2c7b6..4c9813d 100755 --- a/tests/bash/curling.bash +++ b/tests/bash/curling.bash @@ -6,7 +6,8 @@ # ####################################### -if [ -z ${SIMPLE_AUTH_URL} ] +URL=${SIMPLE_AUTH_URL} +if [ -z ${URL} ] then echo "[WARN]: SIMPLE_AUTH_URL is empty, set to http://localhost:9001" URL="http://localhost:9001"