ajout tests
This commit is contained in:
parent
4945517810
commit
9828f370be
@ -1,11 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "TEST HUGO"
|
echo "TEST HUGO"
|
||||||
|
response=$(curl -s -o /dev/null -w "%{http_code}\n" http://localhost:6060")
|
||||||
$response="curl http://localhost:6060"
|
if ["$reponse" != "200"]
|
||||||
if [$reponse=="HTTP/1.1 200 OK"]
|
|
||||||
then
|
then
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user