Merge pull request #4123 from fomojola/patch-1
Support for expected CHECKS text with special characters
This commit is contained in:
1 file changed
+1
-1
@@ -211,7 +211,7 @@ trigger-scheduler-docker-local-check-deploy() {
|
|||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
if OUTPUT=$(curl -# $CURL_ARGS 2>&1); then
|
if OUTPUT=$(curl -# $CURL_ARGS 2>&1); then
|
||||||
# OUTPUT contains the HTTP response
|
# OUTPUT contains the HTTP response
|
||||||
if [[ "$OUTPUT" =~ $EXPECTED ]]; then
|
if [[ "$OUTPUT" =~ "$EXPECTED" ]]; then
|
||||||
SUCCESS=1
|
SUCCESS=1
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user