ajout tests
This commit is contained in:
parent
f123e58a0c
commit
4f6bea2002
@ -3,4 +3,7 @@
|
||||
echo "TEST HUGO"
|
||||
url=http://localhost:6060
|
||||
curl ${url} -I -o headers -s
|
||||
cat headers | head -n 1 | cut '-d ' '-f2'
|
||||
if((cat headers | head -n 1 | cut '-d ' '-f2')=="200")
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user