ajout tests
This commit is contained in:
parent
837e8c0d39
commit
9f7c5f6b3c
11
testWeb.sh
11
testWeb.sh
@ -1,8 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "TEST HUGO"
|
||||
response=`curl -k -s -X GET --url "http://localhost:6060"'
|
||||
if ["$reponse" != "200"]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
response="curl -s http://localhost:6060"
|
||||
#if ['$reponse' != '200']
|
||||
#then
|
||||
# exit 1
|
||||
#fi
|
||||
echo $reponse
|
||||
|
Loading…
x
Reference in New Issue
Block a user