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 F3174A00E6 for ; Wed, 10 Jul 2019 05:08:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E88C21B998; Wed, 10 Jul 2019 05:08:10 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9E37F1B96E for ; Wed, 10 Jul 2019 05:08:08 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2019 20:08:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,473,1557212400"; d="scan'208";a="168180107" Received: from itecstvdts01.sh.intel.com ([10.67.111.77]) by orsmga003.jf.intel.com with ESMTP; 09 Jul 2019 20:08:07 -0700 From: yufengmx To: dts@dpdk.org Cc: yufengmx Date: Wed, 10 Jul 2019 11:09:22 +0800 Message-Id: <1562728162-214888-3-git-send-email-yufengx.mo@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1562728162-214888-1-git-send-email-yufengx.mo@intel.com> References: <1562728162-214888-1-git-send-email-yufengx.mo@intel.com> Subject: [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" fix typo issue in output message. Signed-off-by: yufengmx --- tests/TestSuite_vm_power_manager.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 = 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 down") ori_freq = 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 = self.get_cpu_frequency(self.vcpu_map[vcpu]) - print utils.GREEN("After freqency up, freq is %d\n" % cur_freq) + print utils.GREEN("After frequency up, freq is %d\n" % cur_freq) self.verify( cur_freq > ori_freq, "Cpu freqenecy can not scale up") ori_freq = cur_freq @@ -205,7 +205,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): max_freq = int(out) self.verify(freq == max_freq, "Cpu max frequency not correct") - print utils.GREEN("After freqency max, freq is %d\n" % max_freq) + print utils.GREEN("After frequency max, freq is %d\n" % max_freq) self.vm_dut.send_expect("quit", "# ") def test_vm_power_managment_freqmin(self): @@ -228,7 +228,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): min_freq = int(out) self.verify(freq == min_freq, "Cpu min frequency not correct") - print utils.GREEN("After freqency min, freq is %d\n" % min_freq) + print utils.GREEN("After frequency min, freq is %d\n" % min_freq) self.vm_dut.send_expect("quit", "# ") def test_vm_power_multivms(self): @@ -269,7 +269,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): cpu_idx = 0 for cpu in cpus: cpu_map = '[%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 += 1 out = vm2_dut.build_dpdk_apps("examples/vm_power_manager/guest_cli") -- 1.9.3