This adds configuration for "virsh capabilities" test.

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

diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample
index 5061f42..8552a58 100644
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -218,6 +218,22 @@ variants:
                  status_error = "yes"
                  libvirtd = "off"

+    - virsh_capabilities:
+        type = virsh_capabilities
+        vms = ''
+        variants:
+            - no_option:
+                options = ""
+                status_error = "no"
+                libvirtd = "on"
+            - unexpect_option:
+                options = "xyz"
+                status_error = "yes"
+                libvirtd = "on"
+            - with_libvirtd_stop:
+                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