X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Frun_pazpar2.sh;h=de6c021d049187752e6f8c5ffc99ee4376ef3b85;hb=7895ed928aac63bc69f3ee778d80335fb3c605ed;hp=989e257ac4e54aa050a1b42b721b54677e0da111;hpb=f4b58b73e53b5f3727530fed355ca7c7dc046c22;p=pazpar2-moved-to-github.git diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index 989e257..de6c021 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -9,6 +9,9 @@ # 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 @@ -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