buggrep - 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

Submitted by:  Dagobert Michelsen <dagobert>
Submitted on:  Tue 30 Mar 2010 11:11:07 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 28 Jun 2011 12:29:03 PM UTC, comment #3:

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.

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':
- tests/bre.sh
- tests/ere.sh
- tests/spencer1-locale
- tests/spencer1.sh

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
  • -unavailable- added by bonzini (Posted a comment)
  • -unavailable- added by dagobert (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 28 Jun 2011 12:29:03 PM UTCbonziniStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Wed 30 Mar 2011 08:19:37 AM UTCbonziniStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1