Signed-off-by: Li Yang <[email protected]>
---
 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 daad3d4..99016e3 100644
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -361,6 +361,31 @@ variants:
                 addition_status_error = "yes"
                 libvirtd = "off"

+    - virsh_domxml_from_native:
+        type = virsh_domxml_from_native
+        guest_args = "/tmp/guest_args"
+        invalid_guest_args = ""
+        libvirtd = "on"
+        status_error = "yes"
+        vm_ref = "file_guest_args"
+        variants:
+            - unexpect_option:
+                invalid_guest_args = "xyz"
+                variants:
+                    - exist_file_guest_args:
+                        virsh_domxml_file_exists = "yes"
+                    - no_file_guest_args:
+                        virsh_domxml_file_exists = "no"
+                    - invalid_guest_args:
+                        virsh_domxml_file_exists = ""
+                    - with_libvirtd_stop:
+                        libvirtd = "off"
+                        invalid_guest_args = ""
+            - expect_option:
+                status_error = "no"
+            - no_option:
+                vm_ref = ""
+
     - virsh_list:
         type = virsh_list
         vm_start = yes
--
1.7.1

--
Regards,
--------------------------------------------------
Li Yang
TEL:+86+25-86630566-8526
EMail:[email protected]
--------------------------------------------------



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

Reply via email to