ajout tests
This commit is contained in:
parent
8e6010da13
commit
549e3aae2a
14
testWeb.sh
14
testWeb.sh
@ -2,12 +2,10 @@
|
||||
|
||||
echo "TEST HUGO"
|
||||
|
||||
$response = curl http://localhost:6060
|
||||
if ($reponse == "HTTP/1.1 200 OK")
|
||||
{
|
||||
exit 0;
|
||||
}
|
||||
$response = "curl http://localhost:6060"
|
||||
if [$reponse == "HTTP/1.1 200 OK"]
|
||||
then
|
||||
exit 0
|
||||
else
|
||||
{
|
||||
exit 1;
|
||||
}
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user