testing: add missing sh test
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 13 Nov 2013 12:50:13 +0000 (13:50 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 13 Nov 2013 12:50:13 +0000 (13:50 +0100)
test/run_pazpar2.sh

index 989e257..dd23b33 100755 (executable)
@@ -103,7 +103,7 @@ if test "$ztest" = "true" ; then
            if test -x $p/ztest/yaz-ztest; then
                VERSION=`$p/ztest/yaz-ztest -V 2>/dev/null|awk '{print $3;}'|awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
                if test -n "$VERSION"; then
-                   if "$VERSION" -ge 4002052; then
+                   if test "$VERSION" -ge 4002052; then
                        F=$p/ztest/yaz-ztest
                        break
                    fi