From 9f7c5f6b3c2b48833d0514c9c8dbd55be91c087f Mon Sep 17 00:00:00 2001 From: Gregan Date: Thu, 29 Jul 2021 17:26:41 +0200 Subject: [PATCH] ajout tests --- testWeb.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/testWeb.sh b/testWeb.sh index c461520..5558f35 100755 --- a/testWeb.sh +++ b/testWeb.sh @@ -1,8 +1,9 @@ #!/bin/bash echo "TEST HUGO" -response=`curl -k -s -X GET --url "http://localhost:6060"' -if ["$reponse" != "200"] -then - exit 1 -fi +response="curl -s http://localhost:6060" +#if ['$reponse' != '200'] +#then + # exit 1 +#fi +echo $reponse