From d5895311c0b40819ae87992fa86bf1ddcf338df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 29 Aug 2016 09:23:08 +0200 Subject: [PATCH] Fix params, correctly handle error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test-docker.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-docker.sh b/test-docker.sh index 2bbd7fbc..0d14d9f4 100755 --- a/test-docker.sh +++ b/test-docker.sh @@ -17,7 +17,8 @@ URL=http://localhost/phpmyadmin/ while ! docker exec $NAME ps aux | grep -q nginx ; do echo 'Waiting for start...'; sleep 1; done # Perform tests -python phpmyadmin_test.py --url "http://127.0.0.1:$PORT/" --username root --password -my-secret-pw --server $SERVER +python phpmyadmin_test.py --url "http://127.0.0.1:$PORT/" --username root --password my-secret-pw --server $SERVER +ret=$? if [ $ret -ne 0 ] ; then curl http://127.0.0.1:$PORT/ docker ps -a