test suite reviews and discussions
 help / color / mirror / Atom feed
From: pengyuan <yuan.peng@intel.com>
To: dts@dpdk.org
Cc: pengyuan <yuan.peng@intel.com>
Subject: [dts] [PATCH] get packet's content in pmdrssreta
Date: Mon, 18 Jul 2016 19:24:28 +0800	[thread overview]
Message-ID: <1468841068-20745-1-git-send-email-yuan.peng@intel.com> (raw)

Signed-off-by: pengyuan <yuan.peng@intel.com>

diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
index 6445330..653f8c0 100644
--- a/tests/TestSuite_pmdrssreta.py
+++ b/tests/TestSuite_pmdrssreta.py
@@ -104,8 +104,8 @@ class TestPmdrssreta(TestCase):
                 time.sleep(.5)
         else:
             print "\ntran_type error!\n"
-
-        out = self.dut.send_expect("stop", "testpmd>")
+        out = self.dut.get_session_output(timeout=1)
+        self.dut.send_expect("stop", "testpmd>")
         lines = out.split("\r\n")
         reta_line = {}
 
-- 
1.8.3.1

             reply	other threads:[~2016-07-18 11:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 11:24 pengyuan [this message]
2016-07-25  8:41 ` Liu, Yong

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=1468841068-20745-1-git-send-email-yuan.peng@intel.com \
    --to=yuan.peng@intel.com \
    --cc=dts@dpdk.org \
    /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).