ajout tests
This commit is contained in:
parent
3ff75fef47
commit
244c09d80a
@ -6,5 +6,6 @@ curl ${url} -I -o headers -s
|
|||||||
reponse=$(cat headers | head -n 1 | cut '-d ' '-f2')
|
reponse=$(cat headers | head -n 1 | cut '-d ' '-f2')
|
||||||
if [ $reponse == "200" ]
|
if [ $reponse == "200" ]
|
||||||
then
|
then
|
||||||
|
echo "SUCCESS"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user