From: Satheesh Rajendran <[email protected]>

Signed-off-by: Satheesh Rajendran <[email protected]>
---
 client/tests/virt/shared/cfg/subtests.cfg.sample |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/client/tests/virt/shared/cfg/subtests.cfg.sample 
b/client/tests/virt/shared/cfg/subtests.cfg.sample
index 921276b..07e29fb 100644
--- a/client/tests/virt/shared/cfg/subtests.cfg.sample
+++ b/client/tests/virt/shared/cfg/subtests.cfg.sample
@@ -212,6 +212,28 @@ variants:
                 status_error = "yes"
                 libvirtd = "off"
 
+    - virsh_nodecpustats:
+        type = virsh_nodecpustats
+        vms = ''
+
+        # this is number of iterations the command will be executed and
+        # the actual delta values will be listed at the end of testcase for
+        # all iterations
+        itr = 5
+        variants:
+            - no_option:
+                virsh_cpunodestats_options = ""
+                status_error = "no"
+                libvirtd = "on"
+            - unexpect_option:
+                virsh_cpunodestats_options = "xyz"
+                status_error = "yes"
+                libvirtd = "on"
+            - with_libvirtd_stop:
+                virsh_cpunodestats_options = ""
+                status_error = "yes"
+                libvirtd = "off"
+
     - virsh_vcpupin: install setup image_copy unattended_install.cdrom
         type = virsh_vcpupin
 
-- 
1.7.1

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to