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

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Tue Dec 2 03:39:19 UTC 2014


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
 
 
 
-- 
1.9.3




More information about the virt-tools-list mailing list