From: "Liu, Yong" <yong.liu@intel.com>
To: haifeng <haifengx.tang@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH V2] fix test script get the output from the pmd driver correctly if the command inputs aren't from tester side
Date: Fri, 23 Oct 2015 13:47:56 +0800 [thread overview]
Message-ID: <5629CA0C.8060604@intel.com> (raw)
In-Reply-To: <1445578735-35120-1-git-send-email-haifengx.tang@intel.com>
Applied. Thanks.
On 10/23/2015 01:38 PM, haifeng wrote:
> Signed-off-by: haifeng <haifengx.tang@intel.com>
> ---
> tests/TestSuite_fdir.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
> index 1372674..9113fb0 100644
> --- a/tests/TestSuite_fdir.py
> +++ b/tests/TestSuite_fdir.py
> @@ -99,7 +99,8 @@ class TestFdir(TestCase, IxiaPacketGenerator):
> self.dut.send_expect("start", "testpmd>")
> self.tester.scapy_execute()
> time.sleep(.5)
> - out = self.dut.send_expect("stop", "testpmd>")
> + out = self.dut.get_session_output()
> + self.dut.send_expect("stop", "testpmd>")
>
> if(self.nic in ["kawela", "niantic", "fortville_eagle", "fortville_spirit", "fortville_spirit_single"]):
> if ("fwd" == self.fdir_type):
prev parent reply other threads:[~2015-10-23 5:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 5:38 haifeng
2015-10-23 5:47 ` 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=5629CA0C.8060604@intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=haifengx.tang@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).