Patches item #1908313, was opened at 2008-03-05 16:13
Message generated for change (Comment added) made by vapier
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=303382&aid=1908313&group_id=3382

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Testscripts
Group: Miscellaneous
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dustin Kirkland (dustin_kirkland)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix broken POSIX shell compliance

Initial Comment:
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/[email protected]/msg00510.html

In the last message in the thread, it's claimed that the changes were
committed to CVS.
http://www.mail-archive.com/[email protected]/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

----------------------------------------------------------------------

Comment By: Mike Frysinger (vapier)
Date: 2008-03-08 07:50

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=303382&aid=1908313&group_id=3382

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to