test suite reviews and discussions
 help / color / mirror / Atom feed
From: "xu,huilong" <huilongx.xu@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH] fix cannot get output bug of ieee1588
Date: Fri, 23 Oct 2015 14:39:00 +0800	[thread overview]
Message-ID: <1445582340-41116-2-git-send-email-huilongx.xu@intel.com> (raw)
In-Reply-To: <1445582340-41116-1-git-send-email-huilongx.xu@intel.com>

From: haifeng <haifengx.tang@intel.com>

Signed-off-by: haifeng <haifengx.tang@intel.com>
---
 tests/TestSuite_ieee1588.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
index e23f8fb..723ca40 100644
--- a/tests/TestSuite_ieee1588.py
+++ b/tests/TestSuite_ieee1588.py
@@ -99,7 +99,8 @@ class TestIeee1588(TestCase):
         # self.verify("\\x00\\x02" in out, "Payload wrong in PTP")
 
         time.sleep(1)
-        out = self.dut.send_expect("stop", "testpmd> ")
+        out = self.dut.get_session_output()
+        self.dut.send_expect("stop", "testpmd> ")
 
         text = dts.regexp(out, "(.*) by hardware")
         self.verify("IEEE1588 PTP V2 SYNC" in text, "Not filtered " + text)
-- 
1.9.3

  reply	other threads:[~2015-10-23  6:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-23  6:38 [dts] [PATCH] fix cannot get output bug of timer xu,huilong
2015-10-23  6:39 ` xu,huilong [this message]
2015-10-23  7:40   ` [dts] [PATCH] fix cannot get output bug of ieee1588 Liu, Yong
2015-10-23  7:40 ` [dts] [PATCH] fix cannot get output bug of timer 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=1445582340-41116-2-git-send-email-huilongx.xu@intel.com \
    --to=huilongx.xu@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).