[PATCH 02/24] qemumigrationcookiexmltest: Don't fetch latest caps files without using them

Peter Krempa pkrempa at redhat.com
Thu Mar 16 16:11:31 UTC 2023


Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/qemumigrationcookiexmltest.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/qemumigrationcookiexmltest.c b/tests/qemumigrationcookiexmltest.c
index 2f0d84148b..74302dc55f 100644
--- a/tests/qemumigrationcookiexmltest.c
+++ b/tests/qemumigrationcookiexmltest.c
@@ -403,13 +403,8 @@ static int
 mymain(void)
 {
     int ret = 0;
-    g_autoptr(GHashTable) capslatest = NULL;
     g_autoptr(virConnect) conn = NULL;

-    capslatest = testQemuGetLatestCaps();
-    if (!capslatest)
-        return EXIT_FAILURE;
-
     if (qemuTestDriverInit(&driver) < 0)
         return EXIT_FAILURE;

-- 
2.39.2



More information about the libvir-list mailing list