From c7535f45790bc5cabecf783c036cf5aef7b9000c Mon Sep 17 00:00:00 2001 From: Gregan Date: Thu, 29 Jul 2021 16:46:25 +0200 Subject: [PATCH] ajout tests --- testWeb.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 testWeb.sh diff --git a/testWeb.sh b/testWeb.sh new file mode 100755 index 0000000..04821d9 --- /dev/null +++ b/testWeb.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +echo "TEST HUGO" + +$response = curl http://localhost:6060 +if ($reponse == "HTTP/1.1 200 OK") +{ + exit 0; +} +else +{ + exit 1; +}