buggrep - Bugs: bug #24703, "make check" failures in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #24703: "make check" failures in 2.5.3

Submitter:  Peter Fales <psfales>
Submitted:  Thu 30 Oct 2008 03:52:28 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Fri 04 Dec 2009 07:58:46 PM UTC, comment #5: 

For the record, these tests are passing for us with grep-2.5.4

Peter Fales <psfales>
Fri 04 Dec 2009 07:45:07 PM UTC, comment #4: 

Not reproducible with the recipe of comment #3, and foad1.sh is full of XFAILs, so closing.

Paolo Bonzini <bonzini>
Mon 17 Nov 2008 08:05:13 AM UTC, comment #3: 

In my previous post:


In my environment,  foad1.sh  did not fail when
 LC_ALL  was unset.

When  LC_ALL  was set to  C  , e.g. by adding


LC_ALL=C; export LC_ALL


to the top of foad1.sh, the  grep Word -o -i  tests failed again


To be more accurate:

all foad1.sh tests that jsmall mentioned failing also failed in my environment (i.e. grep Word -o -i  as well as grep Word --color=always -i).  When the "all locale" is unset, all tests in foad1.sh pass.

zjhm <new_gnu_naam>
Mon 17 Nov 2008 07:53:07 AM UTC, comment #2: 

In my environment, +verbatim+ foad1.sh -verbatim- did not fail when
+verbatim+ LC_ALL -verbatim- was unset.

When +verbatim+ LC_ALL -verbatim- was set to +verbatim+ C -verbatim- , e.g. by adding


LC_ALL=C; export LC_ALL


to the top of foad1.sh, the +verbatim+ grep Word -o -i -verbatim- tests failed again.

Some environment info (just highlights, full output is in attached file):


# uname -a
Linux [computer-name] 2.6.18-6-486 #1 Mon Oct 13 15:35:23 UTC 2008 i686 GNU/Linux
#
#
# cat /etc/debian_version
4.0
#
#
# env | grep 'LC'
(no output)
#
#
# env | grep 'LANG'
LANG=en_US.UTF-8
#
#
# locale -k LC_CTYPE
ctype-class-names="upper";"lower";"alpha";"digit";"xdigit";"space";"print";"graph";"blank";"cntrl";"punct";"alnum";"combining";"combining_level3"
ctype-map-names="toupper";"tolower";"totitle"
...
charmap="UTF-8"
...
map-to-nonascii=0
#
#
# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
...
LC_COLLATE="en_US.UTF-8"
...
LC_MESSAGES="en_US.UTF-8"
...
LC_ALL=


See attached file for more complete information.
More info can be provided upon request.


(file #16859)

zjhm <new_gnu_naam>
Sun 16 Nov 2008 01:43:47 AM UTC, comment #1: 

I am trying to build grep 2.5.3 for OS/2 and eComstation. And I am experiencing similar test failures:
Testing:  ../src/grep Word -o -i
  input:  "WordA/wordB/WORDC/"
  output: ""
  expect: "Word/word/WORD/"
FAIL
Testing:  ../src/grep WORD -o -i
  input:  "WordA/wordB/WORDC/"
  output: ""
  expect: "Word/word/WORD/"
FAIL
Testing:  ../src/grep Word --color=always -i
  input:  "WordA/wordb/WORDC/"
  output: "WordA/wordb/WORDC/"
  expect: "WordA/wordb/WORDC/"
FAIL
Testing:  ../src/grep WORD --color=always -i
  input:  "WordA/wordb/WORDC/"
  output: "WordA/wordb/WORDC/"
  expect: "WordA/wordb/WORDC/"
FAIL

John Small <jsmall>
Thu 30 Oct 2008 03:52:28 PM UTC, original submission:  

I'm seeing several test failures while building 2.5.3.   There are several failures, but this one seems representative, and it's failing on all the platforms we build for: HP/UX 10.20, Cygwin, Linux (RedHat 7.3), Mac OS/X 10.3, Irix 6.2,  Solaris 8 (x86), Solaris 8 (sparc), and Solaris 2.5.1 (sparc)


Testing:  ../src/grep Word -o -i
  input:  "WordA/wordB/WORDC/"
  output: ""
  expect: "Word/word/WORD/"
FAIL
Testing:  ../src/grep WORD -o -i
  input:  "WordA/wordB/WORDC/"
  output: ""
  expect: "Word/word/WORD/"
FAIL

Peter Fales <psfales>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #16859:  greptests.txt added by new_gnu_naam (2KiB - text/plain - environment information for zjhm post)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bonzini (Posted a comment)
  • -email is unavailable- added by new_gnu_naam (Updated the item)
  • -email is unavailable- added by jsmall (Posted a comment)
  • -email is unavailable- added by psfales (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-04 bonzini Open/ClosedOpen Closed
    2008-11-17 new_gnu_naam Attached File- Added greptests.txt, #16859

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code