Signed-off-by: Li Yang <[email protected]>
---
libvirt/tests/cfg/virsh_suspend.cfg | 37
+++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
create mode 100644 libvirt/tests/cfg/virsh_suspend.cfg
diff --git a/libvirt/tests/cfg/virsh_suspend.cfg
b/libvirt/tests/cfg/virsh_suspend.cfg
new file mode 100644
index 0000000..e53fb7d
--- /dev/null
+++ b/libvirt/tests/cfg/virsh_suspend.cfg
@@ -0,0 +1,37 @@
+- virsh_suspend:
+ type = virsh_suspend
+ kill_vm = "yes"
+ suspend_vm_ref = "name"
+ suspend_extra = ""
+ variants:
+ - normal_test:
+ status_error = "no"
+ variants:
+ - id_option:
+ suspend_vm_ref = "id"
+ - name_option:
+ - paused_option:
+ paused_after_start_vm = "yes"
+ - uuid_option:
+ suspend_vm_ref = "uuid"
+ - error_test:
+ status_error = "yes"
+ variants:
+ - space_option:
+ suspend_vm_ref = "''"
+ - no_option:
+ suspend_vm_ref = ""
+ - hex_id_option:
+ suspend_vm_ref = "hex_id"
+ - invalid_id_option:
+ suspend_vm_ref = "suspend_invalid_id"
+ suspend_invalid_id = "9999"
+ - unexpect_option:
+ suspend_vm_ref = "/#"
+ - invalid_uuid_option:
+ suspend_vm_ref = "suspend_invalid_uuid"
+ suspend_invalid_uuid =
"99999999-9999-9999-9999-9999999999"
+ - extra_option:
+ suspend_extra = "xyz"
+ - shutdown_option:
+ start_vm = "no"
--
1.7.1
--
Regards,
--------------------------------------------------
Li Yang
TEL:+86+25-86630566-8526
EMail:[email protected]
--------------------------------------------------
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel