This adds configuration for "virsh uri" test.

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

diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample
index e5a0327..90170c8 100644
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -161,6 +161,29 @@ variants:
         restart_vm = yes
         pxe_timeout = 60

+    - virsh_uri: install setup image_copy unattended_install.cdrom
+        type = virsh_uri
+        vms = ''
+        variants:
+            - no_option:
+                options = ""
+                status_error = "no"
+                libvirtd = "on"
+                #premise: connect with none-password
+                variants:
+                    - connect_to_local:
+                        target_uri = "qemu+ssh:///system"
+                    - connect_to_remote:
+                        target_uri = 
"qemu+ssh://SOURCE_HOSTNAME.EXAMPLE.COM/system"
+            - unexpect_option:
+                options = "xyz"
+                status_error = "yes"
+                libvirtd = "on"
+            - with_libvirtd_stop:
+                options = ""
+                status_error = "yes"
+                libvirtd = "off"
+
     - virsh_version: install setup image_copy unattended_install.cdrom
         type = virsh_version
         vms = ''
--
1.7.1


_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to