From 3e4517ec4225b309eeae2ad3f563f39878eabb11 Mon Sep 17 00:00:00 2001 From: cytopia Date: Fri, 28 Dec 2018 23:33:54 +0100 Subject: [PATCH] Fix phppgadmin test on failure --- .tests/intra-tests/vendor-phppgadmin.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.tests/intra-tests/vendor-phppgadmin.sh b/.tests/intra-tests/vendor-phppgadmin.sh index 49c63fbe..1aef6e3a 100755 --- a/.tests/intra-tests/vendor-phppgadmin.sh +++ b/.tests/intra-tests/vendor-phppgadmin.sh @@ -93,9 +93,9 @@ if ! curl -sS localhost${URL}intro.php | tac | tac | grep -Eiq "welcome to phpPg # 3rd Try sleep 1 if ! curl -sS localhost${URL}intro.php | tac | tac | grep -Eiq "welcome to phpPgAdmin"; then - printf "\r[FAIL] Fetch ${URL}\n" - curl -sS localhost/${URL}into.php || true - curl -sSI localhost/${URL}into.php || true + printf "\r[FAIL] Fetch ${URL}intro.php\n" + curl -sS localhost/${URL}intro.php || true + curl -sSI localhost/${URL}intro.php || true exit 1 else printf "\r[OK] Fetch ${URL}intro.php (3 rounds)\n"