#40 Fix broken POSIX shell compliance

Miscellaneous
closed-accepted
nobody
Testscripts (3)
5
2008-03-27
2008-03-05
No

runltp will not execute on a POSIX-compliant shell (dash).

I found this thread, and a patch that to fixes my issues:
http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg00510.html

In the last message in the thread, it's claimed that the changes were
committed to CVS.
http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg00521.html

This patch is an adaptation of the original by Matthew Wilcox. I changed '= "0"' to '-eq 0', at the request of George Kraft. I also dropped the sh -> bash change in generate.sh, as Mike Frysinger seemed to object to that part.

:-Dustin

Dustin Kirkland
Ubuntu Server Team
Canonical, LTD

Discussion

  • Mike Frysinger

    Mike Frysinger - 2008-03-08

    Logged In: YES
    user_id=114429
    Originator: NO

    i used = in IDcheck.sh as it meshes better with the rest of the code in that file ... if one gets converted to -eq, they all should

    i added your -a => -e changes to runltp and runltplite.sh

    cheers

     
  • Subrata Modak

    Subrata Modak - 2008-03-27

    Logged In: YES
    user_id=1737361
    Originator: NO

    Mike already implemented this.

    Regards--
    Subrata

     
  • Subrata Modak

    Subrata Modak - 2008-03-27
    • status: open --> closed-accepted
     
  • Nobody/Anonymous

    Hi to every single one, it's really a nice for me to visit this web site, it consists of valuable Information.
    uggs factory online http://uggbootsfactoryoutlet.webs.com/

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks