mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-31 22:17:17 +00:00
tests: Limit use of TLSx509secretUUIDs
These are intended to be used for just a few specific tests, but since we don't always free them up afterwards they could end up accidentally affecting subsequent tests as well. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
573def3a3f
commit
156cdf1967
@ -1296,6 +1296,8 @@ mymain(void)
|
|||||||
DO_TEST_CAPS_LATEST("disk-network-tlsx509-nbd-hostname");
|
DO_TEST_CAPS_LATEST("disk-network-tlsx509-nbd-hostname");
|
||||||
DO_TEST_CAPS_VER("disk-network-tlsx509-vxhs", "5.0.0");
|
DO_TEST_CAPS_VER("disk-network-tlsx509-vxhs", "5.0.0");
|
||||||
DO_TEST_CAPS_LATEST("disk-network-http");
|
DO_TEST_CAPS_LATEST("disk-network-http");
|
||||||
|
VIR_FREE(driver.config->nbdTLSx509secretUUID);
|
||||||
|
VIR_FREE(driver.config->vxhsTLSx509secretUUID);
|
||||||
driver.config->vxhsTLS = 0;
|
driver.config->vxhsTLS = 0;
|
||||||
DO_TEST_CAPS_LATEST("disk-no-boot");
|
DO_TEST_CAPS_LATEST("disk-no-boot");
|
||||||
DO_TEST_CAPS_LATEST("disk-nvme");
|
DO_TEST_CAPS_LATEST("disk-nvme");
|
||||||
@ -1574,6 +1576,7 @@ mymain(void)
|
|||||||
DO_TEST("serial-tcp-tlsx509-secret-chardev",
|
DO_TEST("serial-tcp-tlsx509-secret-chardev",
|
||||||
QEMU_CAPS_DEVICE_ISA_SERIAL);
|
QEMU_CAPS_DEVICE_ISA_SERIAL);
|
||||||
DO_TEST_CAPS_LATEST("serial-tcp-tlsx509-secret-chardev");
|
DO_TEST_CAPS_LATEST("serial-tcp-tlsx509-secret-chardev");
|
||||||
|
VIR_FREE(driver.config->chardevTLSx509secretUUID);
|
||||||
driver.config->chardevTLS = 0;
|
driver.config->chardevTLS = 0;
|
||||||
DO_TEST("serial-many-chardev",
|
DO_TEST("serial-many-chardev",
|
||||||
QEMU_CAPS_DEVICE_ISA_SERIAL);
|
QEMU_CAPS_DEVICE_ISA_SERIAL);
|
||||||
|
Loading…
Reference in New Issue
Block a user