ajout tests
This commit is contained in:
+3
-6
@@ -1,9 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "TEST HUGO"
|
echo "TEST HUGO"
|
||||||
response=$(curl -s http://localhost:6060)
|
url=http://localhost:6060
|
||||||
#if ["$reponse" != "200"]
|
curl ${url} -I -o headers -s
|
||||||
#then
|
cat headers | head -n 1 | cut '-d ' '-f2'
|
||||||
# exit 1
|
|
||||||
#fi
|
|
||||||
echo $reponse
|
|
||||||
|
|||||||
Reference in New Issue
Block a user