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

diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample
index 8e73c0e..83b3607 100644
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -361,6 +361,37 @@ variants:
                 addition_status_error = "yes"
                 libvirtd = "off"

+    - virsh_domxml_from_native:
+        type = virsh_domxml_from_native
+        guest_args = "/tmp/guest_args"
+        invalid_guest_args = ""
+        main_vm = vm1
+        libvirtd = "on"
+        variants:
+            - status_error_no:
+                status_error = "no"
+                vm_ref = "file_guest_args"
+            - status_error_yes:
+                status_error = "yes"
+                variants:
+                    - no_option:
+                        vm_ref = ""
+                    - unexpect_option:
+                        invalid_guest_args = "xyz"
+                        variants:
+                            - file_guest_args:
+                                vm_ref = "file_guest_args_invalid"
+                                variants:
+                                    - exist_file:
+                                        file_exist = "file_exist"
+                                    - no_file:
+                                        file_exist = "no_file_exist"
+                            - invalid_guest_args:
+                                vm_ref = "invalid_guest_args"
+                    - with_libvirtd_stop:
+                        vm_ref = "file_guest_args"
+                        libvirtd = "off"
+
     - module_probe:
         type = module_probe
# You can specify your own module list, though it is not needed usually.
--
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