ajout TEST

This commit is contained in:
Gregan 2021-07-29 19:31:01 +02:00
parent 244c09d80a
commit a1fa78fbab

View File

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