Skip XSL tests for old Libxslt older than 1.1.24
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 1 May 2014 07:55:16 +0000 (07:55 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 1 May 2014 07:55:16 +0000 (07:55 +0000)
At least version 1.1.17 produces slightly different results.

etc/xsl/test_xsl.sh

index 83031db..ec3dce9 100755 (executable)
@@ -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`