[virt-tools-list] [virt-manager PATCH] test: fix a virt-clone test cases
Cole Robinson
crobinso at redhat.com
Tue Dec 2 15:00:10 UTC 2014
On 12/01/2014 10:39 PM, Chen Hanxiao wrote:
> 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
>
>
>
>
Can you explain exactly what's wrong here?
- Cole
More information about the virt-tools-list
mailing list