From a0423ebd029af30dbe034ea3f5bec96406abfb86 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sun, 3 Jan 2021 14:45:52 +0100 Subject: [PATCH] Adjust xdebug CI tests --- .tests/tests/config-xdebug.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tests/tests/config-xdebug.sh b/.tests/tests/config-xdebug.sh index 517d0ef8..706f05c8 100755 --- a/.tests/tests/config-xdebug.sh +++ b/.tests/tests/config-xdebug.sh @@ -69,7 +69,7 @@ if [ "${PHP_VERSION}" = "5.2" ] || [ "${PHP_VERSION}" = "5.3" ] || [ "${PHP_VERS printf "\\r[OK] Xdebug default disabled\\n" fi else - if ! run "curl -sS --fail 'http://localhost:${HOST_PORT_HTTPD}/info_php.php' | tac | tac | grep 'xdebug.mode' | grep -E 'develop.+develop' >/dev/null" "${RETRIES}" "" "0"; then + if ! run "curl -sS --fail 'http://localhost:${HOST_PORT_HTTPD}/info_php.php' | tac | tac | grep 'xdebug.mode' | grep -E '(develop.+develop)|(no value.+no value)' >/dev/null" "${RETRIES}" "" "0"; then printf "\\r[FAIL] Xdebug default disabled\\n" run "curl -sS 'http://localhost:${HOST_PORT_HTTPD}/info_php.php' | grep 'xdebug.mode' || true" exit 1