Signed-off-by: Gu Yanhua <guyanhua-f...@cn.fujitsu.com>
---
  client/virt/subtests.cfg.sample |   25 +++++++++++++++++++++++++
  1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample
index ebfbff5..e42983e 100644
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -280,6 +280,31 @@ variants:
                  status_error = "yes"
                  libvirtd = "off"

+
+    - virsh_freecell:
+        type = virsh_freecell
+        vms = ''
+        libvirtd = "on"
+        variants:
+            - expected_options:
+                status_error = "no"
+                variants:
+                    - no_option:
+                        virsh_freecell_options = ""
+                    - expected_option_all:
+                        virsh_freecell_options = "--all"
+                    - expected_option_0:
+                        virsh_freecell_options = 0
+            - error_test:
+                status_error = "yes"
+                variants:
+                    - unexpected_option_xyz:
+                        virsh_freecell_options = "xyz"
+                    - with_libvirtd_stop:
+                        libvirtd = "off"
+                        virsh_freecell_options = ""
+
+
      - module_probe:
          type = module_probe
          # You can specify your own module list, though it is not needed 
usually.
--
1.7.1


_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to