From: "Liu, Yong" <yong.liu@intel.com>
To: Lijuan Tu <lijuanx.a.tu@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH]test_ping: remove tester ip after finish test
Date: Fri, 13 Nov 2015 17:14:44 +0800 [thread overview]
Message-ID: <5645AA04.2090407@intel.com> (raw)
In-Reply-To: <1447396812-3365-1-git-send-email-lijuanx.a.tu@intel.com>
Applied. Thanks.
On 11/13/2015 02:40 PM, Lijuan Tu wrote:
> From: lijuan tu <lijuanx.a.tu@intel.com>
>
> testers have the same IP on the one machine will cause ip conflict
>
> Signed-off-by: lijuan tu <lijuanx.a.tu@intel.com>
> ---
> tests/TestSuite_kni.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
> index 10e922f..69a20fe 100644
> --- a/tests/TestSuite_kni.py
> +++ b/tests/TestSuite_kni.py
> @@ -594,6 +594,9 @@ class TestKni(TestCase):
> (virtual_interface, ''.join(ipv6list)), "# ", 10)
> self.verify(
> "0 received, 100% packet loss" in out, "ping6 not supported")
> + # remove ip from tester
> + self.tester.send_expect(
> + "ip addr del 192.168.%d.2 dev %s" % (port, tx_interface), "# ")
>
> for port in self.config['ports']:
> tx_port = self.tester.get_local_port(port)
prev parent reply other threads:[~2015-11-13 9:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-13 6:40 Lijuan Tu
2015-11-13 9:14 ` Liu, Yong [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=5645AA04.2090407@intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=lijuanx.a.tu@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).