From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 5202BA00E6 for ; Mon, 13 May 2019 09:49:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 473C94C9C; Mon, 13 May 2019 09:49:55 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id AC9272BCE for ; Mon, 13 May 2019 09:49:53 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 May 2019 00:49:52 -0700 X-ExtLoop1: 1 Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 13 May 2019 00:49:52 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 13 May 2019 00:49:52 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.213]) with mapi id 14.03.0415.000; Mon, 13 May 2019 15:49:50 +0800 From: "Tu, Lijuan" To: Rami Rosen , "dts@dpdk.org" Thread-Topic: [dts] [PATCH] tests/vhost_pmd_xstats: fix a typo Thread-Index: AQHVAivruJlzKCCmlUqT1EK/A+/HG6ZovIUg Date: Mon, 13 May 2019 07:49:50 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA7FDBC@SHSMSX101.ccr.corp.intel.com> References: <1556941530-121693-1-git-send-email-ramirose@gmail.com> In-Reply-To: <1556941530-121693-1-git-send-email-ramirose@gmail.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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTU0NjI5ZjctMzU0YS00OWRiLWE5ZTUtZjYxNzhlNDVkN2I3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiYVlidFg5eitSOW53NlpQXC9xa2o3MGdtOFdHVGlIbjNEb1BCRjIxeElGalwvbTBHZksyVzFtbEkxZjV0YjZWNXAzIn0= 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] tests/vhost_pmd_xstats: fix a typo 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 Rami Rosen > Sent: Saturday, May 4, 2019 11:46 AM > To: dts@dpdk.org > Cc: Rami Rosen > Subject: [dts] [PATCH] tests/vhost_pmd_xstats: fix a typo >=20 > This patch fixes a typo in tests/vhost_pmd_xstats: > rx_package =3D> rx_packets > tx_package =3D> tx_packets >=20 > Signed-off-by: Rami Rosen > --- > tests/TestSuite_vhost_pmd_xstats.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_vhost_pmd_xstats.py > b/tests/TestSuite_vhost_pmd_xstats.py > index db59f48..75b87a6 100755 > --- a/tests/TestSuite_vhost_pmd_xstats.py > +++ b/tests/TestSuite_vhost_pmd_xstats.py > @@ -216,7 +216,7 @@ class TestVhostPmdXstats(TestCase): > "show port xstats %s" % self.dut_ports[0], "testpmd>", 60) > rx_packet =3D re.search("rx_size_64_packets:\s*(\d*)", out_0) > rx_packets =3D rx_packet.group(1) > - self.verify(self.scapy_num =3D=3D int(rx_packets), "Error for > rx_package:%s !=3D tx_package :%s" % ( > + self.verify(self.scapy_num =3D=3D int(rx_packets), "Error for > rx_packets:%s !=3D tx_packets :%s" % ( > self.scapy_num, int(rx_packets))) >=20 > def tear_down(self): > -- > 1.8.3.1