ajout tests

This commit is contained in:
Gregan 2021-07-29 17:12:45 +02:00
parent 5dbfc630ea
commit b0a8e54c1d

View File

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