# 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
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