Signed-off-by: Yu Mingfei <[email protected]> --- libvirt/tests/cfg/virsh_console.cfg | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 libvirt/tests/cfg/virsh_console.cfg
diff --git a/libvirt/tests/cfg/virsh_console.cfg b/libvirt/tests/cfg/virsh_console.cfg new file mode 100644 index 0000000..a352b06 --- /dev/null +++ b/libvirt/tests/cfg/virsh_console.cfg @@ -0,0 +1,45 @@ +- virsh_console: + type = virsh_console + # Need to config console in xml + # So vm should shut off at the beginning of test. + start_vm = no + virsh_console_vm_state = running + # This means you should add console terminal to + # /etc/securetty, Otherwise 'root' will be denied. + console_login_user = "root" + # Only useful when console_login_user is not 'root' + console_password_not_root = "" + variants: + - normal_test: + status_error = no + # parameter type for 'domain' + variants: + - valid_domname: + virsh_console_vm_ref = domname + - valid_domid: + virsh_console_vm_ref = domid + - valid_domuuid: + virsh_console_vm_ref = domuuid + # TODO:special options + - error_test: + status_error = yes + variants: + - invalid_options: + variants: + - invalid_domname: + virsh_console_vm_ref = not_exist_xyz + - invalid_domid: + virsh_console_vm_ref = 9999 + - hex_domid: + virsh_console_vm_ref = hex_id + - invalid_domuuid: + virsh_console_vm_ref = 99999999-9999-9999-9999-999999999999 + - none_domname: + virsh_console_vm_ref = "" + - special_operation: + virsh_console_vm_ref = domname + variants: + - vm_paused: + virsh_console_vm_state = paused + - vm_shut_off: + virsh_console_vm_state = shutoff -- 1.7.11.7 _______________________________________________ Virt-test-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-test-devel
