On 07/12/2012 11:36 AM, Yu Mingfei wrote:
> This patch adds configuration of virsh_list to virt/subtest.cfg.sample

It's incomplete test configuration, please see comments on PATCH 3/3.

>
> Signed-off-by: Yu Mingfei <yuming...@cn.fujitsu.com>
> ---
>  client/virt/subtests.cfg.sample |   45 
> +++++++++++++++++++++++++++++++++++++++
>  1 files changed, 45 insertions(+), 0 deletions(-)
>
> diff --git a/client/virt/subtests.cfg.sample 
> b/client/virt/subtests.cfg.sample
> index 099f28e..cf219be 100644
> --- a/client/virt/subtests.cfg.sample
> +++ b/client/virt/subtests.cfg.sample
> @@ -307,6 +307,51 @@ variants:
>                  libvirtd = "off"
>                  status_error = "yes"
>
> +    - virsh_list:
> +        type = virsh_list
> +        variants:
> +            - with_valid_parameter:
> +                status_error = "no"
> +                variants:
> +                    - inactive:
> +                        parameter_ref = "inactive"
> +                    - all:
> +                        parameter_ref = "all"
> +                    - none:
> +                        parameter_ref = ""
> +            - with_invalid_parameter:
> +                status_error = "yes"
> +                variants:
> +                    - invalid_string:
> +                        parameter_ref = "xyz"
> +                    - id:
> +                        parameter_ref = "id"
> +                    - name:
> +                        parameter_ref = "name"
> +                    - uuid:
> +                        parameter_ref = "uuid"
> +        variants:
> +            - local:
> +                addition_status_error = "no"
> +                remote_ref = "local"
> +            #You should config ssh autologin from remote to local
> +            #when list_local_on_remote is running.
> +            - list_local_on_remote:
> +                addition_status_error = "no"
> +                remote_ref = "remote"
> +                #remote host's IP
> +                remote_ip = "127.0.0.1"
> +                #remote host's password
> +                remote_passwd = ""
> +                #local host's ip
> +                local_ip = "127.0.0.1"
> +            - with_libvirt_stop:
> +                only with_valid_parameter
> +                addition_status_error = "yes"
> +                libvirtd = "off"
> +
> +
> +
>      - module_probe:
>          type = module_probe
>          # You can specify your own module list, though it is not 
> needed usually.

_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to