[virt-tools-list] [virt-manager PATCH 3/3] test: update compare_check flags for auto-clone cases
Chen Hanxiao
chenhanxiao at cn.fujitsu.com
Fri Sep 12 05:23:03 UTC 2014
auto-clone cases use SUPPORT_CONN_BARE_BACKINGSTORE,
which check libvirt 1.2.4.
Change it to SUPPORT_CONN_LOADER_ROM(1.2.9)
and drop SUPPORT_CONN_BARE_BACKINGSTORE.
Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
---
tests/clitest.py | 4 ++--
virtinst/support.py | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/clitest.py b/tests/clitest.py
index 93aea43..b18bebc 100644
--- a/tests/clitest.py
+++ b/tests/clitest.py
@@ -875,8 +875,8 @@ c.add_invalid("--original-xml %(CLONE_DISK_XML)s --auto-clone") # Auto flag w/
c = vclon.add_category("misc", "")
-c.add_compare("--connect %(KVMURI)s -o test-for-clone --auto-clone --clone-running", "clone-auto1", compare_check=support.SUPPORT_CONN_BARE_BACKINGSTORE)
-c.add_compare("-o test-clone-simple --name newvm --auto-clone --clone-running", "clone-auto2", compare_check=support.SUPPORT_CONN_BARE_BACKINGSTORE)
+c.add_compare("--connect %(KVMURI)s -o test-for-clone --auto-clone --clone-running", "clone-auto1", compare_check=support.SUPPORT_CONN_LOADER_ROM)
+c.add_compare("-o test-clone-simple --name newvm --auto-clone --clone-running", "clone-auto2", compare_check=support.SUPPORT_CONN_LOADER_ROM)
c.add_valid("-o test --auto-clone") # Auto flag, no storage
c.add_valid("--original-xml %(CLONE_DISK_XML)s --auto-clone") # Auto flag w/ storage,
c.add_valid("--original-xml %(CLONE_STORAGE_XML)s --auto-clone") # Auto flag w/ managed storage,
diff --git a/virtinst/support.py b/virtinst/support.py
index b7862a3..ec0b787 100644
--- a/virtinst/support.py
+++ b/virtinst/support.py
@@ -293,7 +293,6 @@ SUPPORT_CONN_INPUT_KEYBOARD = _make(
SUPPORT_CONN_POOL_GLUSTERFS = _make(version="1.2.0")
SUPPORT_CONN_CPU_MODEL_NAMES = _make(function="virConnect.getCPUModelNames",
run_args=("x86_64", 0))
-SUPPORT_CONN_BARE_BACKINGSTORE = _make(version="1.2.4")
SUPPORT_CONN_HYPERV_VAPIC = _make(
version="1.1.0", hv_version={"qemu": "1.1.0", "test": 0})
SUPPORT_CONN_HYPERV_CLOCK = _make(
--
1.9.0
More information about the virt-tools-list
mailing list