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 424D1A0487 for ; Wed, 3 Jul 2019 07:41:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 307762B99; Wed, 3 Jul 2019 07:41:56 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 03A451BE0 for ; Wed, 3 Jul 2019 07:41:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 22:41:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,446,1557212400"; d="scan'208";a="157857234" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga008.jf.intel.com with ESMTP; 02 Jul 2019 22:41:53 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 22:41:53 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.162]) with mapi id 14.03.0439.000; Wed, 3 Jul 2019 13:41:52 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V1]tests/keep_alive: fix wrong output message Thread-Index: AQHVMLOuycjbUlCGY0Ol/cgFvonQYKa2doYAgAHsEzA= Date: Wed, 3 Jul 2019 05:41:51 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAD910F@SHSMSX101.ccr.corp.intel.com> References: <1562055634-176278-1-git-send-email-yufengx.mo@intel.com> <1562055634-176278-2-git-send-email-yufengx.mo@intel.com> In-Reply-To: <1562055634-176278-2-git-send-email-yufengx.mo@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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2NlZThmYjMtODg4My00MTU5LTk5NjEtZDM2MjJiZTM1ODA2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidlVLOCtLbThGXC8yQVVuWDdVTVI2MkMzSjVCeW9kczRcL3A5d3BRRG52Rjg0M2drVFlueXFoSGFDWDRoSkpGWG9OIn0= 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 V1]tests/keep_alive: fix wrong output message 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 yufengmx > Sent: Tuesday, July 2, 2019 4:21 PM > To: dts@dpdk.org > Cc: Mo, YufengX > Subject: [dts] [PATCH V1]tests/keep_alive: fix wrong output message >=20 >=20 > fix wrong output message format in test case test_keep_alive. >=20 > Signed-off-by: yufengmx > --- > tests/TestSuite_keep_alive.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_keep_alive.py b/tests/TestSuite_keep_alive.p= y > index e29ea8b..d9fc9b2 100644 > --- a/tests/TestSuite_keep_alive.py > +++ b/tests/TestSuite_keep_alive.py > @@ -79,7 +79,7 @@ class TestKeepAlive(TestCase): > p =3D re.compile(r'\d+') > result =3D p.findall(out) > amount =3D 2000 * len(self.dut_ports) > - self.verify(str(amount) in result, "Wrong: can't get <%s> packag= e") > + self.verify(str(amount) in result, "Wrong: can't get <%d> > + package" % amount) >=20 > def scapy_send_packet(self,nu): > """ > -- > 1.9.3