The result is the same of the original version:

<<<test_output>>>
route4-redirect01    0  TINFO  :  Verify the kernel is not crashed when the
IPv4 route is modified by  ICMP Redirects frequently
route4-redirect01    1  TPASS  :  Test is finished correctly.

<<<test_output>>>
incrementing stop
route6-redirect01    0  TINFO  :  Verify the kernel is not crashed when the
IPv6 route is modified by  ICMP Redirects frequently
route6-redirect01    1  TPASS  :  Test is finished correctly.



2013/8/8 Xie Lingyun <[email protected]>

> ip command is not in default rsh $PATH, add PATH setting for 'ip addr
> flush'
> the same
> change
> in route4-redirect and route6-redirect
>
> Signed-off-by: Xie Lingyun <[email protected]>
> ---
>  testcases/network/stress/route/route4-redirect | 2 +-
>  testcases/network/stress/route/route6-redirect | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/testcases/network/stress/route/route4-redirect
> b/testcases/network/stress/route/route4-redirect
> index 9eb8a46..ab6aaf1 100644
> --- a/testcases/network/stress/route/route4-redirect
> +++ b/testcases/network/stress/route/route4-redirect
> @@ -140,7 +140,7 @@ do_setup()
>
>      # Remove the link-local address of the remote host
>      sleep 3
> -    $LTP_RSH $RHOST "ip addr flush dev $rhost_ifname" > /dev/null
> +    $LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH ip addr flush dev
> $rhost_ifname" > /dev/null
>
>      # Assign IPv4 address to the interface of the local host
>      set_ipv4addr lhost ${LINK_NUM} ${IPV4_NETWORK} ${LHOST_IPV4_HOST}
> diff --git a/testcases/network/stress/route/route6-redirect
> b/testcases/network/stress/route/route6-redirect
> index 1c31b62..1e8f5df 100644
> --- a/testcases/network/stress/route/route6-redirect
> +++ b/testcases/network/stress/route/route6-redirect
> @@ -137,7 +137,7 @@ do_setup()
>
>      # Remove the link-local address of the remote host
>      sleep 5
> -    $LTP_RSH $RHOST "ip addr flush dev $rhost_ifname" > /dev/null
> +    $LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH ip addr flush dev
> $rhost_ifname" > /dev/null
>
>      # Assign IPv6 address to the interface of the local host
>      add_ipv6addr lhost ${LINK_NUM} ${IPV6_NETWORK} ${LHOST_IPV6_HOST}
>  --
> 1.8.3.1
>
>


-- 


Thanks,
Lingyun Xie
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to