diff --git a/grep-2.5.1-tests.patch b/grep-2.5.1-tests.patch new file mode 100644 index 0000000..7456dcd --- /dev/null +++ b/grep-2.5.1-tests.patch @@ -0,0 +1,103 @@ +--- grep-2.5.1/tests/Makefile.am.jj 2001-03-07 05:11:27.000000000 +0100 ++++ grep-2.5.1/tests/Makefile.am 2004-12-31 11:42:41.595492300 +0100 +@@ -3,7 +3,8 @@ + AWK=@AWK@ + + TESTS = warning.sh khadafy.sh spencer1.sh bre.sh ere.sh \ +- status.sh empty.sh options.sh backref.sh file.sh ++ status.sh empty.sh options.sh backref.sh file.sh \ ++ fmbtest.sh + EXTRA_DIST = $(TESTS) \ + khadafy.lines khadafy.regexp \ + spencer1.awk spencer1.tests \ +--- grep-2.5.1/tests/fmbtest.sh.jj 2004-12-31 11:44:03.584693102 +0100 ++++ grep-2.5.1/tests/fmbtest.sh 2004-12-31 13:30:23.942871250 +0100 +@@ -0,0 +1,76 @@ ++#!/bin/sh ++ ++: ${srcdir=.} ++ ++# If cs_CZ.UTF-8 locale doesn't work, skip this test silently ++LC_ALL=cs_CZ.UTF-8 locale -k LC_CTYPE 2>/dev/null | ${GREP} -q charmap.*UTF-8 \ ++ || exit 77 ++ ++failures=0 ++ ++cat > csinput < cspatfile < +- More tests (Jakub Jelinek). - Jakub Jelinek's much improved -Fi algorithm. - Removed bogus part of grep-2.5.1-fgrep patch.