X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=test%2Frun_pazpar2.sh;h=49ae5e87a16ef766fff96c80397d8d3cc2dbaa56;hb=113f9b0156b53993e03e2c9692832e4ac6d40693;hp=989e257ac4e54aa050a1b42b721b54677e0da111;hpb=f4b58b73e53b5f3727530fed355ca7c7dc046c22;p=pazpar2-moved-to-github.git diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index 989e257..49ae5e8 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -84,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='' @@ -103,7 +106,7 @@ if test "$ztest" = "true" ; then if test -x $p/ztest/yaz-ztest; then VERSION=`$p/ztest/yaz-ztest -V 2>/dev/null|awk '{print $3;}'|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` if test -n "$VERSION"; then - if "$VERSION" -ge 4002052; then + if test "$VERSION" -ge 4002052; then F=$p/ztest/yaz-ztest break fi @@ -118,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"