From af50869cac408ca331be0747058de864f3378bf0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 1 May 2014 07:55:16 +0000 Subject: [PATCH] Skip XSL tests for old Libxslt older than 1.1.24 At least version 1.1.17 produces slightly different results. --- etc/xsl/test_xsl.sh | 5 +++++ 1 file changed, 5 insertions(+) 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` -- 1.7.10.4