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 #!/bin/bash
echo "TEST HUGO" echo "TEST HUGO"
response=`curl -k -s -X GET --url "http://localhost:6060"' response="curl -s http://localhost:6060"
if ["$reponse" != "200"] #if ['$reponse' != '200']
then #then
exit 1 # exit 1
fi #fi
echo $reponse