test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/ vm power mgr : fix separator error
@ 2018-07-30  1:37 zhao,meijuan
  2018-07-30 10:37 ` Lijuan Tu
  0 siblings, 1 reply; 2+ messages in thread
From: zhao,meijuan @ 2018-07-30  1:37 UTC (permalink / raw)
  To: dts; +Cc: zhao,meijuan

fix separator error

Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V1] tests/ vm power mgr : fix separator error
  2018-07-30  1:37 [dts] [PATCH V1] tests/ vm power mgr : fix separator error zhao,meijuan
@ 2018-07-30 10:37 ` Lijuan Tu
  0 siblings, 0 replies; 2+ messages in thread
From: Lijuan Tu @ 2018-07-30 10:37 UTC (permalink / raw)
  To: zhao,meijuan, dts

Applied, thanks


On 2018年07月30日 09:37, zhao,meijuan wrote:
> fix separator error
>
> Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
> ---
>   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()

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-30  2:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-30  1:37 [dts] [PATCH V1] tests/ vm power mgr : fix separator error zhao,meijuan
2018-07-30 10:37 ` Lijuan Tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).