ajout tests

This commit is contained in:
Gregan 2021-07-29 17:57:33 +02:00
parent 530c57df7a
commit f123e58a0c

View File

@ -1,9 +1,6 @@
#!/bin/bash
echo "TEST HUGO"
response=$(curl -s http://localhost:6060)
#if ["$reponse" != "200"]
#then
# exit 1
#fi
echo $reponse
url=http://localhost:6060
curl ${url} -I -o headers -s
cat headers | head -n 1 | cut '-d ' '-f2'