diff --git a/validate_all.sh b/validate_all.sh index a564561b0243c73a90de048c8e5352773394cb6e..bc7bb5bfb3522637b96ece80b944b9aa90a71241 100644 --- a/validate_all.sh +++ b/validate_all.sh @@ -1,7 +1,6 @@ #!/bin/bash set -e -set -x VALIDATION_URL=${VALIDATION_URL:-http://localhost:5001/api/0.7/zapp_validation} @@ -12,7 +11,6 @@ for json in *.json; do echo '{"application":' > $tempfile cat $json >> $tempfile echo '}' >> $tempfile - curl -s -X POST -H "Content-Type: application/json" -d @$tempfile -w "code:%{http_code}" $VALIDATION_URL if ! curl -s -X POST -H "Content-Type: application/json" -d @$tempfile -w "code:%{http_code}" -o $tempfile $VALIDATION_URL | grep 'code:200'; then printf "`cat $tempfile`" echo