From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 5A28637AF for ; Mon, 30 Jul 2018 03:36:39 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jul 2018 18:36:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,420,1526367600"; d="scan'208";a="77030624" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 29 Jul 2018 18:36:27 -0700 From: "zhao,meijuan" To: dts@dpdk.org Cc: "zhao,meijuan" Date: Mon, 30 Jul 2018 09:37:39 +0800 Message-Id: <1532914659-102795-1-git-send-email-meijuanx.zhao@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/ vm power mgr : fix separator error 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: , X-List-Received-Date: Mon, 30 Jul 2018 01:36:39 -0000 fix separator error Signed-off-by: zhao,meijuan --- tests/TestSuite_vm_power_manager.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py index 4fba2b0..59043c6 100644 --- a/tests/TestSuite_vm_power_manager.py +++ b/tests/TestSuite_vm_power_manager.py @@ -114,7 +114,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): """ # check Channels and vcpus guest_cmd = self.vm_power_dir + \ - "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" %s self.vm_name + "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" % self.vm_name out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) self.vm_dut.send_expect("quit", "# ") @@ -133,7 +133,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): Check host cpu frequency can scale down in VM """ guest_cmd = self.vm_power_dir + \ - "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" %s self.vm_name + "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" % self.vm_name out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) for vcpu in range(self.core_num): @@ -163,7 +163,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): Check host cpu frequency can scale up in VM """ guest_cmd = self.vm_power_dir + \ - "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" %s self.vm_name + "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" % self.vm_name out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) for vcpu in range(self.core_num): @@ -190,7 +190,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): Check host cpu frequency can scale to max in VM """ guest_cmd = self.vm_power_dir + \ - "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" %s self.vm_name + "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" % self.vm_name out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) max_freq_path = "cat /sys/devices/system/cpu/cpu%s/cpufreq/" + \ @@ -213,7 +213,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): Check host cpu frequency can scale to min in VM """ guest_cmd = self.vm_power_dir + \ - "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" %s self.vm_name + "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" % self.vm_name out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) min_freq_path = "cat /sys/devices/system/cpu/cpu%s/cpufreq/" + \ @@ -278,7 +278,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): self.verify("No such" not in out, "Compilation error") guest_cmd = self.vm_power_dir + \ - "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" %s self.vm_name + "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" % self.vm_name out = vm2_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) vm2_dut.send_expect("quit", "# ") vm2.stop() -- 1.9.3