X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Ftest_http.sh;h=01a11107ca18b9ee9b9310e2456731e0c95aaf3c;hb=e1832011e4bc7f67c20f22cb2d9197d60ce02e6f;hp=dafd629fb5c01f6bedc227d5a28c274936c89a7a;hpb=1d39a34e871d67a1c734dea8bd3ebc2e33838393;p=pazpar2-moved-to-github.git diff --git a/test/test_http.sh b/test/test_http.sh index dafd629..01a1110 100755 --- a/test/test_http.sh +++ b/test/test_http.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: test_http.sh,v 1.4 2007-05-16 08:31:17 adam Exp $ +# $Id: test_http.sh,v 1.5 2007-05-16 09:37:34 adam Exp $ # # Regression test using pazpar2 against z3950.indexdata.com/marc # Reads Pazpar2 URLs from test_http_urls @@ -11,7 +11,13 @@ # srcdir might be set by make srcdir=${srcdir:-"."} -# Fire yp pazpar2 +if test -x /usr/bin/wget; then + : +else + echo "wget not found" + exit 0 +fi +# Fire up pazpar2 rm -f pazpar2.log ../src/pazpar2 -l pazpar2.log -f ${srcdir}/test_http.cfg -t ${srcdir}/test_http.xml >extra_pazpar2.log 2>&1 & PP2PID=$!