3 # srcdir might be set by make
6 # look for yaz-ztest in PATH
11 if test -x $p/yaz-ztest -a -x $p/yaz-config; then
12 VERSION=`$p/yaz-config -V|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
13 if test $VERSION -ge 4002000; then
22 echo "yaz-ztest not found that supports facets"
27 $F -l ztest.log -p ztest.pid -D tcp:localhost:9999
29 if test ! -f ztest.pid; then
30 echo "yaz-ztest could not be started"
34 ${srcdir}/run_pazpar2.sh test_facets