[virt-tools-list] [virt-manager PATCH] test: fix a virt-clone test cases

Giuseppe Scrivano gscrivan at redhat.com
Tue Dec 2 14:06:09 UTC 2014


Chen Hanxiao <chenhanxiao at cn.fujitsu.com> writes:

> remove '--force option' in test case virtclone0283
>
> Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> ---
>  tests/clitest.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/clitest.py b/tests/clitest.py
> index 6b3e45d..5c9d635 100644
> --- a/tests/clitest.py
> +++ b/tests/clitest.py
> @@ -916,7 +916,7 @@ c.add_invalid("--original-xml %(CLONE_DISK_XML)s --file %(NEWCLONEIMG1)s --file
>  c.add_invalid("--original-xml %(CLONE_STORAGE_XML)s --file /tmp/clonevol")  # XML w/ managed storage, specify unmanaged path (should fail)
>  c.add_invalid("--original-xml %(CLONE_NOEXIST_XML)s --file %(EXISTIMG1)s")  # XML w/ non-existent storage, WITHOUT --preserve
>  c.add_invalid("--original-xml %(CLONE_DISK_XML)s --file %(ROIMG)s --file %(ROIMG)s --force")  # XML w/ managed storage, specify RO image without preserve
> -c.add_invalid("--original-xml %(CLONE_DISK_XML)s --file %(ROIMG)s --file %(ROIMGNOEXIST)s --force")  # XML w/ managed storage, specify RO non existent
> +c.add_invalid("--original-xml %(CLONE_DISK_XML)s --file %(ROIMG)s --file %(ROIMGNOEXIST)s")  # XML w/ managed storage, specify RO non existent

shouldn't this be removed from the previous test too?

Regards,
Giuseppe




More information about the virt-tools-list mailing list