make check fails at include-exclude. Here are the relevant lines from the log. The entire log file is attached.
+ grep -r --include=a . x + compare out exp-a + diff -u out exp-a + grep -r '--include=a*' . x + compare out exp-a + diff -u out exp-a --- out 2010-04-01 09:00:41.300994294 -0400 +++ exp-a 2010-04-01 09:00:41.264995904 -0400 @@ -1,2 +1 @@ -x/dir/d:d -x/b:b +x/a:a + fail=1 + Exit 1 332,1 79% On Thu, Apr 1, 2010 at 7:37 AM, Jim Meyering <[email protected]> wrote: > There is a bug in grep-2.6.2 that can make grep -F infloop. > I think we've addressed all of the pending problems except > one reported by Norihirio Tanaka (we're deliberately deferring > work on that, since it is so far out on the fringe of usefulness). > > I would like to release grep-2.6.3 in a few hours, > so any feedback before then would be most welcome. > > Here's the NEWS: > ------------------------------- > ** Bug fixes > > Searching with grep -F for an empty string in a multibyte locale > would hang grep. [bug introduced in 2.6.2] > > PCRE support is once again detected on systems with <pcre/pcre.h> > [bug introduced in 2.6.2] > > And here's the snapshot info: > ------------------------------- > > grep snapshot: (.gz files are here, too) > http://meyering.net/grep/grep-ss.tar.xz 812 KB > http://meyering.net/grep/grep-ss.tar.xz.sig > http://meyering.net/grep/grep-2.6.2.22-cb3f.tar.xz > > There are .gz and .sig files here, too: > http://people.redhat.com/meyering/grep/grep-ss.tar.xz > http://people.redhat.com/meyering/grep/grep-2.6.2.22-cb3f.tar.xz > > Changes in grep since 2.6.2: > > Eric Blake (1): > build: avoid another warning > > Jim Meyering (13): > post-release administrivia > build: detect PCRE support also when <pcre/pcre.h> is the header > build: avoid compiler warning when building test program > doc: add a "Reply-To" to the suggested announcement mail header > doc: prepare to generate grep.1 > doc: generate grep.1 from template > doc: generated files are best made read-only, ... > doc: fix typo: s/AM_V_AT/AM_V_at/ > grep: remove unnecessary code > tests: use printf, not echo -n, echo -e, or any combination > tests: new function, to require an en_US UTF8 locale > tests: add explicit requirement for en_US.UTF-8 > tests: remove all unportable uses of echo > > Paolo Bonzini (8): > tests: fix -Wformat failure > tests: use get-mb-cur-max in char-class-multibyte > tests: convert empty.sh to new style > tests: rename empty.sh to empty > grep: fix grep -F against empty string > tests: improve empty test with respect to locales > tests: improve empty test > tests: fix on systems with broken sh > > > Changes in gnulib since 2.6.2: > > none > > >
FAIL: include-exclude (exit: 1) =============================== ++ initial_cwd_=/home/siyer/grep/tests +++ expr ././include-exclude : '.*/\(.*\)$' ++ ME_=include-exclude +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/siyer/grep/tests gt-include-exclude.XXXX +++ case $# in +++ destdir_=/home/siyer/grep/tests +++ template_=gt-include-exclude.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in +++ fail=0 ++++ env -u TMPDIR mktemp -d -t -p /home/siyer/grep/tests gt-include-exclude.XXXX +++ d=/home/siyer/grep/tests/gt-include-exclude.u4wC +++ case $d in +++ test -d /home/siyer/grep/tests/gt-include-exclude.u4wC ++++ ls -dgo /home/siyer/grep/tests/gt-include-exclude.u4wC ++++ tr S - +++ perms='drwx------ 2 4096 Apr 1 09:00 /home/siyer/grep/tests/gt-include-exclude.u4wC' +++ case $perms in +++ test 0 = 0 +++ echo /home/siyer/grep/tests/gt-include-exclude.u4wC +++ return ++ test_dir_=/home/siyer/grep/tests/gt-include-exclude.u4wC ++ cd /home/siyer/grep/tests/gt-include-exclude.u4wC ++ trap remove_tmp_ 0 ++ trap 'Exit $?' 1 2 13 15 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /home/siyer/grep/tests/../src ++ echo /home/siyer/grep/src + abs_path_dir_=/home/siyer/grep/src + case $abs_path_dir_ in + PATH=/home/siyer/grep/src:/home/siyer/grep/src:/usr/local/bin:/usr/bin:/bin:/usr/games + shift + test 0 '!=' 0 + export PATH + mkdir -p x/dir + echo a + echo b + echo d + printf '%s\n' x/b:b x/dir/d:d + printf '%s\n' x/dir/d:d + printf '%s\n' x/a:a x/b:b + printf '%s\n' x/a:a x/b:b + printf '%s\n' x/a:a + grep -r '--exclude=a*' . x + sort out + mv k out + compare out exp-not-a + diff -u out exp-not-a + grep -r '--exclude=[ab]' . x + sort out + mv k out + compare out exp-not-ab + diff -u out exp-not-ab + grep -r '--exclude=*d' . x + sort out + mv k out + compare out exp-not-d + diff -u out exp-not-d + grep -r --exclude-dir=dir . x + sort out + mv k out + compare out exp-not-dir + diff -u out exp-not-dir + grep -r --include=a . x + compare out exp-a + diff -u out exp-a + grep -r '--include=a*' . x + compare out exp-a + diff -u out exp-a --- out 2010-04-01 09:00:41.300994294 -0400 +++ exp-a 2010-04-01 09:00:41.264995904 -0400 @@ -1,2 +1 @@ -x/dir/d:d -x/b:b +x/a:a + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /home/siyer/grep/tests + chmod -R u+rwx /home/siyer/grep/tests/gt-include-exclude.u4wC + rm -rf /home/siyer/grep/tests/gt-include-exclude.u4wC + exit 1
