ajout tests

This commit is contained in:
Gregan 2021-07-29 18:32:12 +02:00
parent 3ff75fef47
commit 244c09d80a

View File

@ -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