test suite reviews and discussions
 help / color / mirror / Atom feed
From: haifeng <haifengx.tang@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH] 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:22:08 +0800	[thread overview]
Message-ID: <1445577728-34518-1-git-send-email-haifengx.tang@intel.com> (raw)

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 f186eb2..8c2f6fd 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.session.get_session_before()
+        out = self.dut.get_session_output()
+        print out
         self.dut.send_expect("stop", "testpmd>")
 
         if(self.nic in ["kawela", "niantic", "fortville_eagle", "fortville_spirit", "fortville_spirit_single"]):
-- 
1.9.3

             reply	other threads:[~2015-10-23  5:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-23  5:22 haifeng [this message]
2015-10-23  5:29 ` Liu, Yong
  -- strict thread matches above, loose matches on Subject: below --
2015-10-23  4:59 haifeng
2015-10-23  5:14 ` Liu, Yong
2015-10-23  5:27   ` Tang, HaifengX

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=1445577728-34518-1-git-send-email-haifengx.tang@intel.com \
    --to=haifengx.tang@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).