From e782bcfc52c71bedbf09d8c245e134644a0c4dd6 Mon Sep 17 00:00:00 2001 From: Gregan Date: Thu, 29 Jul 2021 17:16:01 +0200 Subject: [PATCH] ajout tests --- testWeb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testWeb.sh b/testWeb.sh index 51f5cb2..66fd61b 100755 --- a/testWeb.sh +++ b/testWeb.sh @@ -1,7 +1,7 @@ #!/bin/bash echo "TEST HUGO" -reponse=$(curl -s -o /dev/null -w "%{http_code}\n" http://localhost:6060) +response=`curl -k -s -X GET --url "http://localhost:6060" if ["$reponse" != "200"] then exit 1