From 3e2f2882c3d8af8de5aad628e73e450250f02fea Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 26 Oct 2009 17:00:57 +0100 Subject: [PATCH] Test return error if curl is not found --- test/run_pazpar2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"' -- 1.7.10.4