]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid test failure on SuSE Linux.
authorBruno Haible <bruno@clisp.org>
Mon, 14 Jan 2002 12:10:09 +0000 (12:10 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 22:57:33 +0000 (00:57 +0200)
tests/ChangeLog
tests/lang-librep

index 1ae0056b55b48726554cb831145c01a0784bccc6..c214b3af5d4cb716a6a92045e424b7584b188b83 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-12  Bruno Haible  <bruno@clisp.org>
+
+       * lang-librep: Skip the test if the 'rep' program is too old.
+
 2002-01-09  Bruno Haible  <bruno@clisp.org>
 
        * lang-c: Use xsetenv before setlocale.
index 0feacda3736332efa3c621cace12a6d22c5723ea..d505329caac8059082f951ae74427b5be1dece45 100755 (executable)
@@ -74,9 +74,13 @@ cat <<\EOF > prog.ok
 EUR remplace FF.
 EOF
 
-# Test for presence of rep.
+# Test for presence of rep version 0.15.3 or newer.
 (rep --version) >/dev/null 2>/dev/null \
   || { echo "SKIP: lang-librep"; rm -fr $tmpfiles; exit 77; }
+case `rep --version | sed -e 's/^[^0-9]*//'` in
+  0.[0-9] | 0.1[0-5] | 0.[0-9].* | 0.1[0-4].* | 0.15.[0-2] )
+    echo "SKIP: lang-librep"; rm -fr $tmpfiles; exit 77;;
+esac
 
 LANGUAGE= LC_ALL=fr_FR rep --no-rc --batch prog.jl > prog.out || exit 1
 ${DIFF} prog.ok prog.out || exit 1