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 0FB67A00E6 for ; Wed, 10 Jul 2019 10:31:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DC4CE2BF4; Wed, 10 Jul 2019 10:31:38 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4EFFC2BA8 for ; Wed, 10 Jul 2019 10:31:37 +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; 10 Jul 2019 01:31:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,473,1557212400"; d="scan'208";a="364859846" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 10 Jul 2019 01:31:36 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 10 Jul 2019 01:31:35 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 10 Jul 2019 01:31:35 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 10 Jul 2019 01:31:34 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.3]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.174]) with mapi id 14.03.0439.000; Wed, 10 Jul 2019 16:31:33 +0800 From: "Yao, Lei A" 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: AQHVNszFdKyGr6UazEixhAIIbSXCV6bDhe8A Date: Wed, 10 Jul 2019 08:31:32 +0000 Message-ID: <2DBBFF226F7CF64BAFCA79B681719D954972F9DA@shsmsx102.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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzgyNmFkYTUtZmNhOS00OTMzLTg4OWQtMzUxYjZjMTRjOTcwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiclM5ZG1GNkUyTThkUm5LU2VnMjhXRGhDVHVCbHlXa29QczJzRjQ2WFwvWnZJMkZJcVRuSW9kdE5HOVRrMEx0TG0ifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action 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" > -----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 Acked-by: Lei Yao > --- > 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