Hi!
> @@ -89,7 +89,7 @@ status=0
>          tst_brkm TBROK "timeout reached!"
>      fi
>      ping6 -I $vnet0 -qc 2 $childIPv6 >/dev/null 2>&1
> -
> +    sleep 1
>      if [ $? = 0 ] ; then
>         tst_resm TINFO "IPv6: Pinging child from parent: PASS"
>         status=0

This is obviously wrong. Because the $? in the if will correspond to the
return value from the sleep 1 and not from the ping.

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to