ajout tests

This commit is contained in:
Gregan 2021-07-29 17:26:41 +02:00
parent 837e8c0d39
commit 9f7c5f6b3c

View File

@ -1,8 +1,9 @@
#!/bin/bash
echo "TEST HUGO"
response=`curl -k -s -X GET --url "http://localhost:6060"'
if ["$reponse" != "200"]
then
exit 1
fi
response="curl -s http://localhost:6060"
#if ['$reponse' != '200']
#then
# exit 1
#fi
echo $reponse