Bugs item #2897301, was opened at 2009-11-13 17:33
Message generated for change (Tracker Item Submitted) made by radolin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=2897301&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: Testcases
Group: Network - Other Tests
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Radoslav Kolev (radolin)
Assigned to: Nobody/Anonymous (nobody)
Summary: undefined variable in tcp4-uni-basic01

Initial Comment:
I am using ltp-full-20091031

A lot of the TCP tests involving packet loss fail with this error:

./tcp4-uni-basic01: line 394: netem_param: unbound variable

The reason is that strict checking for undefined variables is enabled with "set 
-u", but the variable netem_param is not always defined before testing its 
contents.

The fix I have applied is to initialize the netem_param variable with an empty 
string. In  tcp4-uni-basic01 add around line 381:

netem_param=""

Now the tests pass without problem.

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

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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to