From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0FFDEA04F2; Thu, 5 Dec 2019 07:47:18 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B59661BF7D; Thu, 5 Dec 2019 07:47:17 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 9E1921BF7B for ; Thu, 5 Dec 2019 07:47:16 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Dec 2019 22:47:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,280,1571727600"; d="scan'208";a="219126346" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 04 Dec 2019 22:47:14 -0800 From: Xie Wei To: dts@dpdk.org Cc: Xie Wei Date: Thu, 5 Dec 2019 14:52:19 +0800 Message-Id: <1575528739-139506-1-git-send-email-weix.xie@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/flow_filtering: add start flow verify X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" start flow verification Signed-off-by: Xie Wei --- 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