4 # srcdir might be set by make
7 # look for yaz-ztest in PATH
12 if test -x $p/yaz-ztest -a -x $p/yaz-client; then
13 VERSION=`$p/yaz-client -V|awk '{print $3;}'|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
14 if test $VERSION -ge 4002000; then
23 echo "yaz-ztest not found that supports facets"
28 $F -l ztest.log -p ztest.pid -D tcp:localhost:9999
30 if test ! -f ztest.pid; then
31 echo "yaz-ztest could not be started"
36 if test -x ../src/pazpar2; then
37 if ../src/pazpar2 -V |grep icu:enabled >/dev/null; then
38 ${srcdir}/run_pazpar2.sh $TEST