test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  [PATCH V1] tests/flow_filtering: add start flow verify
@ 2019-12-05  6:52 Xie Wei
  0 siblings, 0 replies; only message in thread
From: Xie Wei @ 2019-12-05  6:52 UTC (permalink / raw)
  To: dts; +Cc: Xie Wei

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-05  6:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-05  6:52 [dts] [PATCH V1] tests/flow_filtering: add start flow verify Xie Wei

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).