grep - Bugs: bug #29381, Some tests assume sh == bash
You are not allowed to post comments on this tracker with your current authentication level.
bug #29381: Some tests assume sh == bash
Submitter: | Dagobert Michelsen <dagobert> | ||
Submitted: | Tue 30 Mar 2010 11:11:07 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Invalid |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Tue 28 Jun 2011 12:29:03 PM UTC, comment #3: |
Paolo Bonzini <bonzini> |
Wed 30 Mar 2011 08:19:37 AM UTC, comment #2: Can you please test again with 2.7 or git? |
Paolo Bonzini <bonzini> |
Tue 30 Mar 2010 11:11:50 AM UTC, comment #1: BTW, this was for GNU grep 2.6.2 and it fails e.g. on Solaris |
Dagobert Michelsen <dagobert> |
Tue 30 Mar 2010 11:11:07 AM UTC, original submission:
Some tests explicitly call 'sh', but assume 'bash':
|
Dagobert Michelsen <dagobert> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-06-28 | bonzini | Status | Need Info | Invalid | |
Open/Closed | Open | Closed | |||
2011-03-30 | bonzini | Status | None | Need Info |
Powered by Savane 3.13-f8d8.
Corresponding source code
checkbashisms finds no errors in tests/{bre,ere,spencer1,spencer1-locale,spencer2}, and no error in tests/*.script after running "make check" and adding a "#! /bin/sh" line at the top.
Unfortunately, Solaris sh does not support $(...). We can add a configure shell feature test to avoid Solaris sh as /bin/sh. But probably all Solaris systems already have a better shell somewhere, and configure is most likely picking it up already.