mirror of https://gitee.com/openkylin/libvirt.git
tests: qemuxml2xml: Clean up disk-mirror
Instead of testing it twice using WHEN_ACTIVE and WHEN_INACTIVE separately, just use WHEN_BOTH.
This commit is contained in:
parent
ba55861afe
commit
ccd3bb69f6
|
@ -477,8 +477,7 @@ mymain(void)
|
|||
QEMU_CAPS_SCSI_MPTSAS1068,
|
||||
QEMU_CAPS_SCSI_DISK_WWN);
|
||||
DO_TEST("disk-mirror-old");
|
||||
DO_TEST_FULL("disk-mirror", WHEN_ACTIVE, GIC_NONE, NONE);
|
||||
DO_TEST_FULL("disk-mirror", WHEN_INACTIVE, GIC_NONE, NONE);
|
||||
DO_TEST_FULL("disk-mirror", WHEN_BOTH, GIC_NONE, NONE);
|
||||
DO_TEST_FULL("disk-active-commit", WHEN_ACTIVE, GIC_NONE, NONE);
|
||||
DO_TEST("graphics-listen-network");
|
||||
DO_TEST("graphics-vnc");
|
||||
|
|
Loading…
Reference in New Issue