4 # srcdir might be set by make
9 # look for yaz-ztest in PATH
14 if test -x $p/yaz-ztest -a -x $p/yaz-client; then
15 VERSION=`$p/yaz-client -V|awk '{print $3;}'|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
16 if test $VERSION -ge 4000000; then
25 echo "yaz-ztest not found"
30 rm -f ${TEST}_ztest.log
31 $F -l ${TEST}_ztest.log -p ztest.pid -D tcp:localhost:9999
33 if test ! -f ztest.pid; then
34 echo "yaz-ztest could not be started"
39 if test -x ../src/pazpar2; then
40 if ../src/pazpar2 -V |grep icu:enabled >/dev/null; then
41 ${srcdir}/run_pazpar2.sh $TEST