[libvirt PATCH 02/14] tests: Drop unnecessary configuration overrides

Andrea Bolognani abologna at redhat.com
Mon Mar 6 10:10:35 UTC 2023


They are not used by the specific test.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 tests/qemuhotplugtest.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/qemuhotplugtest.c b/tests/qemuhotplugtest.c
index 2e8ac05e5e..6e3d4dd807 100644
--- a/tests/qemuhotplugtest.c
+++ b/tests/qemuhotplugtest.c
@@ -673,11 +673,6 @@ mymain(void)
 
     virEventRegisterDefaultImpl();
 
-    VIR_FREE(driver.config->spiceListen);
-    VIR_FREE(driver.config->vncListen);
-    /* some dummy values from 'config file' */
-    driver.config->spicePassword = g_strdup("123456");
-
     if (!(driver.domainEventState = virObjectEventStateNew()))
         return EXIT_FAILURE;
 
-- 
2.39.2



More information about the libvir-list mailing list