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 7AEACA00E6 for ; Tue, 6 Aug 2019 12:08:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 708691BE3A; Tue, 6 Aug 2019 12:08:12 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 3C9DF375B for ; Tue, 6 Aug 2019 12:08:10 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 03:08:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="374006548" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 06 Aug 2019 03:08:09 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 03:08:09 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 03:08:08 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.112]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 18:08:06 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V1 2/2] tests/vm_power_manager: fix typo in output message Thread-Index: AQHVNszF03dgvsjR10iOZVGnUlAXbqbuEA+w Date: Tue, 6 Aug 2019 10:08:06 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFD631@SHSMSX101.ccr.corp.intel.com> References: <1562728162-214888-1-git-send-email-yufengx.mo@intel.com> <1562728162-214888-3-git-send-email-yufengx.mo@intel.com> In-Reply-To: <1562728162-214888-3-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2FlOGMwY2MtOWM5NS00NjcwLWJiM2QtNjUyZmYxNjU1NzMwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVFwvZGh3Z2R4TXpZNXI4UFNac0dJMzZXWGhsXC8zbHVybjRLNVBicXphcFQ1a1p6aUNqN3FVQWNScFZTcEFUTllWIn0= 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 2/2] tests/vm_power_manager: fix typo in 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: Wednesday, July 10, 2019 11:09 AM > To: dts@dpdk.org > Cc: Mo, YufengX > Subject: [dts] [PATCH V1 2/2] tests/vm_power_manager: fix typo in output > message >=20 >=20 > fix typo issue in output message. >=20 > Signed-off-by: yufengmx > --- > tests/TestSuite_vm_power_manager.py | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) >=20 > diff --git a/tests/TestSuite_vm_power_manager.py > b/tests/TestSuite_vm_power_manager.py > index 7620c19..1b9a965 100644 > --- a/tests/TestSuite_vm_power_manager.py > +++ b/tests/TestSuite_vm_power_manager.py > @@ -151,7 +151,7 @@ class TestVmPowerManager(TestCase, > IxiaPacketGenerator): > self.vm_dut.send_expect( > "set_cpu_freq %d down" % vcpu, "vmpower\(guest\)>") > cur_freq =3D self.get_cpu_frequency(self.vcpu_map[vcpu]) > - print utils.GREEN("After freqency down, freq is %d\n" % = cur_freq) > + print utils.GREEN("After frequency down, freq is %d\n" %= cur_freq) > self.verify( > ori_freq > cur_freq, "Cpu freqenecy can not scale do= wn") > ori_freq =3D cur_freq > @@ -178,7 +178,7 @@ class TestVmPowerManager(TestCase, > IxiaPacketGenerator): > self.vm_dut.send_expect( > "set_cpu_freq %d up" % vcpu, "vmpower\(guest\)>") > cur_freq =3D self.get_cpu_frequency(self.vcpu_map[vcpu]) > - print utils.GREEN("After freqency up, freq is %d\n" % cu= r_freq) > + print utils.GREEN("After frequency up, freq is %d\n" % c= ur_freq) > self.verify( > cur_freq > ori_freq, "Cpu freqenecy can not scale up= ") > ori_freq =3D cur_freq > @@ -205,7 +205,7 @@ class TestVmPowerManager(TestCase, > IxiaPacketGenerator): > max_freq =3D int(out) >=20 > self.verify(freq =3D=3D max_freq, "Cpu max frequency not cor= rect") > - print utils.GREEN("After freqency max, freq is %d\n" % max_f= req) > + print utils.GREEN("After frequency max, freq is %d\n" % max_= freq) > self.vm_dut.send_expect("quit", "# ") >=20 > def test_vm_power_managment_freqmin(self): > @@ -228,7 +228,7 @@ class TestVmPowerManager(TestCase, > IxiaPacketGenerator): > min_freq =3D int(out) >=20 > self.verify(freq =3D=3D min_freq, "Cpu min frequency not cor= rect") > - print utils.GREEN("After freqency min, freq is %d\n" % min_f= req) > + print utils.GREEN("After frequency min, freq is %d\n" % min_= freq) > self.vm_dut.send_expect("quit", "# ") >=20 > def test_vm_power_multivms(self): > @@ -269,7 +269,7 @@ class TestVmPowerManager(TestCase, > IxiaPacketGenerator): > cpu_idx =3D 0 > for cpu in cpus: > cpu_map =3D '[%d]: Physical CPU %s' % (cpu_idx, cpu) > - self.verify(cpu_map in vm_info, "Faile to map host cpu %s" %= cpu) > + self.verify(cpu_map in vm_info, "Failed to map host cpu %s" = % cpu) > cpu_idx +=3D 1 >=20 > out =3D > vm2_dut.build_dpdk_apps("examples/vm_power_manager/guest_cli") > -- > 1.9.3