Test return error if curl is not found
[pazpar2-moved-to-github.git] / test / run_pazpar2.sh
index c44ae92..858bd45 100755 (executable)
@@ -23,7 +23,7 @@ IFS=$oIFS
 
 if test -z $curl; then
     echo "curl not found. $PREFIX can not be tested"
-    exit 0
+    exit 1
 fi
 GET='$curl --silent --output $OUT2 "$f"'
 POST='$curl --silent --header "Content-Type: text/xml" --data-binary "@$postfile" --output $OUT2  "$f"'