From: Adam Dickmeiss Date: Thu, 1 May 2014 07:55:16 +0000 (+0000) Subject: Skip XSL tests for old Libxslt older than 1.1.24 X-Git-Tag: v1.7.0~10 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=af50869cac408ca331be0747058de864f3378bf0;p=pazpar2-moved-to-github.git Skip XSL tests for old Libxslt older than 1.1.24 At least version 1.1.17 produces slightly different results. --- diff --git a/etc/xsl/test_xsl.sh b/etc/xsl/test_xsl.sh index 83031db..ec3dce9 100755 --- a/etc/xsl/test_xsl.sh +++ b/etc/xsl/test_xsl.sh @@ -1,4 +1,9 @@ #!/bin/sh +v=`xsltproc --version|head -1|awk '{print $5}'` +if test $v -lt 10124; then + echo "libxslt is version $v. Skipping test" + exit 0 +fi res=0 for x in *.xsl; do t=`basename $x .xsl`