This adds configuration for "virsh capabilities" test.

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

diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample
index 90170c8..9d7cf11 100644
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -218,6 +218,23 @@ variants:
                  status_error = "yes"
                  libvirtd = "off"

+    - virsh_capabilities:
+        type = virsh_capabilities
+        vms = ''
+        variants:
+            - no_option:
+                virsh_cap_options = ""
+                status_error = "no"
+                libvirtd = "on"
+            - unexpect_option:
+                virsh_cap_options = "xyz"
+                status_error = "yes"
+                libvirtd = "on"
+            - with_libvirtd_stop:
+                virsh_cap_options = ""
+                status_error = "yes"
+                libvirtd = "off"
+

      - module_probe:
          type = module_probe
--
1.7.1


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

Reply via email to