X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Frun_pazpar2.sh;h=49ae5e87a16ef766fff96c80397d8d3cc2dbaa56;hb=113f9b0156b53993e03e2c9692832e4ac6d40693;hp=de6c021d049187752e6f8c5ffc99ee4376ef3b85;hpb=fb1ba03adf3d800d2b40e7f0d6ea367e6c520356;p=pazpar2-moved-to-github.git diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index de6c021..49ae5e8 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -9,9 +9,6 @@ # srcdir might be set by make srcdir=${srcdir:-"."} -YAZ_ZTEST_XML_FETCH=${srcdir}/ -export YAZ_ZTEST_XML_FETCH - # terminate pazpar2 if test takes more than this (in seconds) WAIT=120 @@ -87,6 +84,9 @@ if test "$icu" = "true"; then fi if test "$ztest" = "true" ; then + YAZ_ZTEST_XML_FETCH=${srcdir}/${PREFIX}. + export YAZ_ZTEST_XML_FETCH + oIFS=$IFS IFS=: F='' @@ -121,7 +121,7 @@ if test "$ztest" = "true" ; then fi rm -f ztest.pid rm -f ${PREFIX}_ztest.log - $F -l ${PREFIX}_ztest.log -p ztest.pid -D tcp:localhost:9999 + $F -l ${PREFIX}_ztest.log -a ztest_apdu.log -p ztest.pid -D tcp:localhost:9999 sleep 1 if test ! -f ztest.pid; then echo "yaz-ztest could not be started"