Bugs item #1807212, was opened at 2007-10-03 22:47
Message generated for change (Comment added) made by jbailey999
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=1807212&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jeff Bailey (jbailey999)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bashism in testcases/network/generate.sh

Initial Comment:
Line 57 of generate.sh contains a bashism in the decrementing loop.  Using a 
strict posix shell like dash causes this command to fail.

I'm not sure how exactly to represent this in posix shell.  Probably set the 
variable inside the loop rather than as a side effect of the test.


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

>Comment By: Jeff Bailey (jbailey999)
Date: 2007-10-04 15:25

Message:
Logged In: YES 
user_id=27756
Originator: YES

Ah, I didn't bother reading the optional sections.

In any event, the point still stands that the end-of-Septemeber snapshot
doesn't run on dash, which is a perfectly common shell on Debian, and a
standard one on Ubuntu.


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

Comment By: Mike Frysinger (vapier)
Date: 2007-10-04 14:42

Message:
Logged In: YES 
user_id=114429
Originator: NO

read the mailing list, generate.sh contains no bashisms

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

Comment By: Jeff Bailey (jbailey999)
Date: 2007-10-03 22:51

Message:
Logged In: YES 
user_id=27756
Originator: YES

runltp also fails with:

Inside Failed File Name not Mentioned
INFO: creating
/home/jeffbailey/Programming/tarballs/ltp-full-20070930/output directory

    INFO: no command files were provided, using default,
          system calls, memory management, IPC, scheduler
          direct io, file system, math and pty tests will 
          now be executed
    
[: 512:
/home/jeffbailey/Programming/tarballs/ltp-full-20070930/runtest/syscalls:
unexpected operator
FATAL: missing scenario file
/home/jeffbailey/Programming/tarballs/ltp-full-20070930/runtest/syscalls


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

Comment By: Jeff Bailey (jbailey999)
Date: 2007-10-03 22:49

Message:
Logged In: YES 
user_id=27756
Originator: YES

I also got the following during make install, which I suspect is a similar
problem:

Checking for required user/group ids

[: 90: ==: unexpected operator
[: 119: 1: unexpected operator
Bin user id and group exist.


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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to