From: Adam Dickmeiss Date: Mon, 26 Oct 2009 16:00:57 +0000 (+0100) Subject: Test return error if curl is not found X-Git-Tag: v1.2.3~6 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=3e2f2882c3d8af8de5aad628e73e450250f02fea;p=pazpar2-moved-to-github.git Test return error if curl is not found --- diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index c44ae92..858bd45 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -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"'