X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_facets.sh;h=89839e23701b7e10bf6efc47d28f41558d987e1b;hb=01f19b8c3664fa1c78d1fb9efb8e358d50f85c39;hp=1ad053c09fe51822b6bfa85c65d81664d1f48853;hpb=4e87009b09fe60296d7edd1375707165a5c645e0;p=pazpar2-moved-to-github.git diff --git a/test/test_facets.sh b/test/test_facets.sh index 1ad053c..89839e2 100755 --- a/test/test_facets.sh +++ b/test/test_facets.sh @@ -10,7 +10,7 @@ F='' for p in $PATH; do if test -x $p/yaz-ztest -a -x $p/yaz-config; then VERSION=`$p/yaz-config -V|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` - if test $VERSION -ge 4000011; then + if test $VERSION -ge 4000012; then F=$p/yaz-ztest break fi @@ -24,7 +24,7 @@ if test -z "$F"; then fi rm -f ztest.pid -$F -l ztest.log -p ztest.pid -D @:9999 +$F -l ztest.log -p ztest.pid -D tcp:localhost:9999 sleep 1 if test ! -f ztest.pid; then echo "yaz-ztest could not be started"