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 E1298A04DD; Thu, 22 Oct 2020 11:33:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D81AEA964; Thu, 22 Oct 2020 11:33:48 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id BED7BA963 for ; Thu, 22 Oct 2020 11:33:46 +0200 (CEST) IronPort-SDR: 1fUF3s6Z0F/0mjC05AhRBjJ6qihfMyhQt7u9gGoiBoKNz+Q7U3x0M0kIZGjUI65t3+T6EEzWtY N+KL5B79fNBw== X-IronPort-AV: E=McAfee;i="6000,8403,9781"; a="164007306" X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="164007306" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 02:33:44 -0700 IronPort-SDR: YgJPvaTrhISZB299qq0gp+Nrq5QOo3Bs7dh3oOtoGXjptu0jIrFRv91EvjoLS6iQy3qfaKbj+a 9N4U4YQsL+Fw== X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="466621451" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 02:33:43 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 22 Oct 2020 17:36:16 +0800 Message-Id: <20201022093616.29080-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/TestSuite_iavf_fdir:the error info changes no such device to invaild port 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" run command with invalid port 'flow flush 2', the error info changes no such device to invaild port. Signed-off-by: Xie wei --- tests/TestSuite_iavf_fdir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py index 05ec2d52..d1186471 100755 --- a/tests/TestSuite_iavf_fdir.py +++ b/tests/TestSuite_iavf_fdir.py @@ -2496,7 +2496,7 @@ class TestIAVFFdir(TestCase): out2 = self.pmd_output.execute_cmd("flow destroy 2 rule 0") self.verify("Invalid port" in out2, "there should report error message") out3 = self.pmd_output.execute_cmd("flow flush 2") - self.verify("No such device" in out3, "port 2 doesn't exist.") + self.verify("Invalid port" in out3, "port 2 doesn't exist.") out4 = self.pmd_output.execute_cmd("flow list 2") self.verify("Invalid port" in out4, "port 2 doesn't exist.") -- 2.17.1