projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16fcdc9
)
Test return error if curl is not found
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 26 Oct 2009 16:00:57 +0000
(17:00 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 26 Oct 2009 16:00:57 +0000
(17:00 +0100)
test/run_pazpar2.sh
patch
|
blob
|
history
diff --git
a/test/run_pazpar2.sh
b/test/run_pazpar2.sh
index
c44ae92
..
858bd45
100755
(executable)
--- 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"'