Hi,
On Mon, 2014-12-08 at 12:35 +0100, Cyril Hrubis wrote:
> Hi!
> > If the output information is too long, we need a newline.
> > But tst_resm and tst_brkm only print $1 and $2.
> > This patch will make them print all parameters.
>
> Can you include examples usage after the change?
>
In <LTP>/testcases/network/multicast/mc_cmds
--------------------------------------------------------------------------------
...
113 ping -c2 -I $INTERFACE 224.0.0.1 > $PING_OUT
114 if [ $? -ne 0 ]; then
115 tst_resm TINFO "Trying to ping with $INTERFACE_DEVICE"\
116 "with the -I option instead of IP address"
...
122 fi
...
--------------------------------------------------------------------------------
If "ping -c2 -I $INTERFACE 224.0.0.1 > $PING_OUT" failed,
it just output "Trying to ping with $INTERFACE_DEVICE",
"with the -I option instead of IP address" would be discard.
After this patch, if "ping ..." failed the second string also output.
Thank you.
Zeng
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list