ajout tests
This commit is contained in:
parent
b0a8e54c1d
commit
e782bcfc52
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "TEST HUGO"
|
echo "TEST HUGO"
|
||||||
reponse=$(curl -s -o /dev/null -w "%{http_code}\n" http://localhost:6060)
|
response=`curl -k -s -X GET --url "http://localhost:6060"
|
||||||
if ["$reponse" != "200"]
|
if ["$reponse" != "200"]
|
||||||
then
|
then
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user