From f162e27efd7674473fc8b6d408a7b0738fc7b78b Mon Sep 17 00:00:00 2001 From: Gregan Date: Thu, 29 Jul 2021 18:03:35 +0200 Subject: [PATCH] ajout tests --- testWeb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testWeb.sh b/testWeb.sh index b9aa384..b709c08 100755 --- a/testWeb.sh +++ b/testWeb.sh @@ -3,7 +3,7 @@ echo "TEST HUGO" url=http://localhost:6060 curl ${url} -I -o headers -s -if("(cat headers | head -n 1 | cut '-d ' '-f2')"=="200") +if(('cat headers | head -n 1 | cut '-d ' '-f2')'=="200") then exit 0 fi