From 530c57df7a2a23ac303427b8f9aab5b6b35cf363 Mon Sep 17 00:00:00 2001 From: Gregan Date: Thu, 29 Jul 2021 17:47:53 +0200 Subject: [PATCH] ajout tests --- testWeb.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/testWeb.sh b/testWeb.sh index 283a582..1bd88b2 100755 --- a/testWeb.sh +++ b/testWeb.sh @@ -1,9 +1,8 @@ #!/bin/bash echo "TEST HUGO" -def reponse = sh(script: 'curl http://localhost:6060', returnStdout: true) -#response=$("curl -s http://localhost:6060") -#if ['$reponse' != '200'] +response=$(curl -s http://localhost:6060) +#if ["$reponse" != "200"] #then # exit 1 #fi