ajout tests

This commit is contained in:
Gregan 2021-07-29 17:16:01 +02:00
parent b0a8e54c1d
commit e782bcfc52

View File

@ -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