From: Satheesh Rajendran <[email protected]>

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

diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample
index 8e73c0e..affcce4 100644
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -283,6 +283,35 @@ variants:
                 status_error = "yes"
                 libvirtd = "off"
 
+    - virsh_nodememstats:
+        type = virsh_nodememstats
+        vms = ''
+
+        # This delta value to be considered for checking against expected and
+        # acutal memory statistics value, the value has been arrived after
+        # multiple iterations of this test (Still, the value needs to be
+        # reviewed/checked how much memory diference that can be allowed)
+        # in MBs
+        delta = 200
+        # 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 = 10
+        variants:
+            - no_option:
+                virsh_nodememstats_options = ""
+                status_error = "no"
+                libvirtd = "on"
+            - unexpect_option:
+                virsh_nodememstats_options = "xyz"
+                status_error = "yes"
+                libvirtd = "on"
+            - with_libvirtd_stop:
+                virsh_nodememstats_options = ""
+                status_error = "yes"
+                libvirtd = "off"
+
+
     - virsh_freecell:
         type = virsh_freecell
         vms = ''
-- 
1.7.1

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

Reply via email to