ajout tests
This commit is contained in:
parent
bcd6960ad3
commit
c7535f4579
13
testWeb.sh
Executable file
13
testWeb.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "TEST HUGO"
|
||||||
|
|
||||||
|
$response = curl http://localhost:6060
|
||||||
|
if ($reponse == "HTTP/1.1 200 OK")
|
||||||
|
{
|
||||||
|
exit 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
exit 1;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user