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 B53E3A04B5; Wed, 4 Dec 2019 07:15:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6F7B75F13; Wed, 4 Dec 2019 07:15:39 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 97A8058C4 for ; Wed, 4 Dec 2019 07:15:37 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Dec 2019 22:15:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,276,1571727600"; d="scan'208";a="361455842" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 03 Dec 2019 22:15:36 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 3 Dec 2019 22:15:36 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 3 Dec 2019 22:15:35 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.19]) by shsmsx102.ccr.corp.intel.com ([169.254.2.109]) with mapi id 14.03.0439.000; Wed, 4 Dec 2019 14:15:34 +0800 From: "Tu, Lijuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V4] tests/flow_filtering: modify dismatch_rule judgment Thread-Index: AQHVqO4udO5a5cVYMkWKBoapx0OrqKepgpOw Date: Wed, 4 Dec 2019 06:15:33 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB7D3C6@SHSMSX101.ccr.corp.intel.com> References: <20191202205423.4266-1-xiaoxiaox.zeng@intel.com> In-Reply-To: <20191202205423.4266-1-xiaoxiaox.zeng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGQ4ODk3MDQtMWIxOS00ZTJmLThiOTItMzQ3MGM1MDA0NjJmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiXC9VbEZkQW5YbEJYOVUybE9QbDFGZGptTnJqb0w5R3NvSTNsU2Q4TzZGcnlNRUFiQXduQTRRYmJKeEpta05BS3MifQ== x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V4] tests/flow_filtering: modify dismatch_rule judgment 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiaoxiao Zeng > Sent: Tuesday, December 3, 2019 4:54 AM > To: dts@dpdk.org > Cc: Zeng, XiaoxiaoX > Subject: [dts] [PATCH V4] tests/flow_filtering: modify dismatch_rule > judgment >=20 > Signed-off-by: Xiaoxiao Zeng > --- > tests/TestSuite_flow_filtering.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_flow_filtering.py > b/tests/TestSuite_flow_filtering.py > index 242d321..80f5d86 100644 > --- a/tests/TestSuite_flow_filtering.py > +++ b/tests/TestSuite_flow_filtering.py > @@ -95,7 +95,7 @@ class TestFlowFiltering(TestCase): > pkg =3D {'IP/dst': 'Ether(dst=3D"%s")/IP(src=3D"0.0.0.0", > dst=3D"192.168.1.2")/Raw("x"*20)' % self.dts_mac} > self.send_packet(pkg) > queue_list =3D self.check_flow_queue() > - self.verify(len(queue_list) =3D=3D 1 and queue_list[0] =3D=3D "0= x0", "Dismatch > rule failed!") > + self.verify(len(queue_list) =3D=3D 1 and queue_list[0] !=3D "0x1= ", "Dismatch > rule failed!") >=20 > def tear_down(self): > """ > -- > 2.17.0