From: Xie Wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie Wei <weix.xie@intel.com>
Subject: [dts] [PATCH V1] tests/flow_filtering: add start flow verify
Date: Thu, 5 Dec 2019 14:52:19 +0800 [thread overview]
Message-ID: <1575528739-139506-1-git-send-email-weix.xie@intel.com> (raw)
start flow verification
Signed-off-by: Xie Wei <weix.xie@intel.com>
---
tests/TestSuite_flow_filtering.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filtering.py
index 80f5d86..df4bf59 100644
--- a/tests/TestSuite_flow_filtering.py
+++ b/tests/TestSuite_flow_filtering.py
@@ -58,7 +58,8 @@ class TestFlowFiltering(TestCase):
"""
Run before each test case.
"""
- self.dut.send_expect("./examples/flow_filtering/build/flow -l 1 -n 1", "initializing port", 100)
+ out = self.dut.send_expect("./examples/flow_filtering/build/flow -l 1 -n 1", "initializing port", 100, verify=True)
+ self.verify(out == 0, "start flow failed!")
def send_packet(self, pkg):
"""
--
2.17.2
reply other threads:[~2019-12-05 6:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1575528739-139506-1-git-send-email-weix.xie@intel.com \
--to=weix.xie@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).