4 # srcdir might be set by make
8 # look for yaz-ztest in PATH
13 if test -x $p/yaz-ztest -a -x $p/yaz-client; then
14 VERSION=`$p/yaz-client -V|awk '{print $3;}'|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
15 if test $VERSION -ge 4000000; then
24 echo "yaz-ztest not found"
29 $F -l ztest.log -p ztest.pid -D tcp:localhost:9999
31 if test ! -f ztest.pid; then
32 echo "yaz-ztest could not be started"
36 # Test using test_http.cfg
37 ${srcdir}/run_pazpar2.sh test_filter