ajout tests

This commit is contained in:
Gregan 2021-07-29 18:04:59 +02:00
parent f162e27efd
commit 65dcba5549

View File

@ -3,7 +3,7 @@
echo "TEST HUGO"
url=http://localhost:6060
curl ${url} -I -o headers -s
if(('cat headers | head -n 1 | cut '-d ' '-f2')'=="200")
if((cat headers | head -n 1 | cut '-d ' '-f2')==200)
then
exit 0
fi