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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



They are not used by the specific test.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux