From: Cyril Hrubis <chrubis@suse.cz>
To: Changsheng Liu <liuchangsheng@inspur.com>
Cc: ltp-list@lists.sourceforge.net, wunan@inspur.com
Subject: Re: [LTP] [PATCH] netns, when test ipv6 the parent and child can not ping each other successfully
Date: Wed, 5 Aug 2015 14:03:31 +0200 [thread overview]
Message-ID: <20150805120331.GA30530@rei.suse.de> (raw)
In-Reply-To: <1436348543-6759-1-git-send-email-liuchangsheng@inspur.com>
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
chrubis@suse.cz
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2015-08-05 12:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-08 9:42 [LTP] [PATCH] netns, when test ipv6 the parent and child can not ping each other successfully Changsheng Liu
2015-08-05 12:03 ` Cyril Hrubis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150805120331.GA30530@rei.suse.de \
--to=chrubis@suse.cz \
--cc=liuchangsheng@inspur.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=wunan@inspur.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.