test_facets require YAZ 4.2.68
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 1 Oct 2013 16:26:59 +0000 (18:26 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 1 Oct 2013 16:26:59 +0000 (18:26 +0200)
The subtle reason is that YAZ 4.2.68 recognizes facets in both
additionalSearchInfo and otherInfo of a searchRequest.

test/test_facets.sh

index c35bbec..6f22f01 100755 (executable)
@@ -11,7 +11,7 @@ F=''
 for p in $PATH; do
     if test -x $p/yaz-ztest -a -x $p/yaz-client; then
        VERSION=`$p/yaz-client -V|awk '{print $3;}'|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
-       if test $VERSION -ge 4002000; then
+       if test $VERSION -ge 4002042; then
            F=$p/yaz-ztest
             break
        fi