On Sun, Nov 7, 2010 at 9:39 PM, ARJIT SHARMA <[email protected]> wrote:
> Hi,
>
> In network stress tests
>
> following error is coming, it is not able to get value of field
> variable.
>
> ""
> /opt/ltp/testcases/bin/get_ifname: line 79: field: unbound
> variable
>
> broken_ip6-version01 1 TBROK : Failed to get the interface name at the
> remote host
>
> ""
>
> why the variable is unbound, i tried to correct this but same error is
> coming.
Fix your shell. There's no reason why it should be unbound on the line
where it's being set for the first time:
78 # Pick HWaddr from HWaddr list
79 field=`expr $link_num + 1`
80 hwaddr=`echo $hwaddrs | cut -d ' ' -f $field`
81 if [ x${hwaddr} = x ]; then
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list