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"'
# We can start test for real
-oIFS="$IFS"
-IFS='
-'
-
testno=1
for f in `cat ${srcdir}/${URLS}`; do
if echo $f | grep '^http' >/dev/null; then
exit 1
fi
done
-IFS="$oIFS"
# Kill programs