ajout tests
This commit is contained in:
parent
4f6bea2002
commit
e17da12271
@ -3,7 +3,7 @@
|
|||||||
echo "TEST HUGO"
|
echo "TEST HUGO"
|
||||||
url=http://localhost:6060
|
url=http://localhost:6060
|
||||||
curl ${url} -I -o headers -s
|
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
|
then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user