This patch adds configuration of virsh domname to subtest.cfg.sample. Signed-off-by: Yu Mingfei <yuming...@cn.fujitsu.com> --- client/virt/subtests.cfg.sample | 56 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample index ebfbff5..27d8b8b 100644 --- a/client/virt/subtests.cfg.sample +++ b/client/virt/subtests.cfg.sample @@ -280,6 +280,62 @@ variants: status_error = "yes" libvirtd = "off" + - virsh_domname: + type = virsh_domname + variants: + - with_valid_option: + status_error = "no" + variants: + - domid: + option_ref = "id" + - uuid: + option_ref = "uuid" + - with_invalid_option: + status_error = "yes" + variants: + - none: + option_ref = "" + - hex_domid: + option_ref = "hex_id" + - invalid_domid: + option_ref = "invalid_id" + invalid_id = "9999" + - invalid_uuid: + option_ref = "invalid_uuid" + invalid_uuid = "99999999-9999-9999-9999-999999999999" + - addition_invalid_param: + option_ref = "invalid_param" + - vm_name: + option_ref = "name" + variants: + - with_vm: + addition_status_error = "no" + variants: + - origin_name: + vm_ref = "origin_name" + - number_name: + vm_ref = "new_name" + new_vm_name = "12345678" + - symbol_name: + vm_ref = "new_name" + need_escape = "yes" + new_vm_name = "#" + - symbol_letter_number_name: + vm_ref = "new_name" + new_vm_name = "-vm1" + - vm_state: + variants: + - vm_paused: + addition_status_error = "no" + pre_vm_state = "paused" + - vm_shut_off: + addition_status_error = "yes" + pre_vm_state = "shut off" + - with_libvirtd_stop: + only with_valid_option + addition_status_error = "yes" + libvirtd = "off" + - module_probe: type = module_probe # You can specify your own module list, though it is not needed usually. -- 1.7.1 _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest