ajout tests

This commit is contained in:
Gregan 2021-07-29 17:08:51 +02:00
parent e8c31e203b
commit 5dbfc630ea

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
echo "TEST HUGO" echo "TEST HUGO"
response=$(curl -s -o /dev/null -w "%{http_code}\n" http://localhost:6060") response=$(curl -s -o /dev/null -w "%{http_code}\n" http://localhost:6060)
if ["$reponse" != "200"] if ["$reponse" != "200"]
then then
exit 1 exit 1