ajout tests
This commit is contained in:
+6
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user