X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_facets.sh;fp=test%2Ftest_facets.sh;h=506dd648a9462a1d256d70fa85203e76b817ce54;hb=d1015ee52ea3c437de1f5e2b2fafcbd5ce39095b;hp=5e03320f8321332125e8aec58324e935b9092f58;hpb=de6ac92feb63976d83d79dc3a17b1fcd30122966;p=pazpar2-moved-to-github.git diff --git a/test/test_facets.sh b/test/test_facets.sh index 5e03320..506dd64 100755 --- a/test/test_facets.sh +++ b/test/test_facets.sh @@ -8,7 +8,7 @@ oIFS=$IFS IFS=: F='' for p in $PATH; do - if test -x $p/yaz-ztest -a $p/yaz-config; then + 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 4000012; then F=$p/yaz-ztest