[PATCH v2 10/12] qemumonitorjsontest: Remove bomb guarding object-add

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

 



Libvirt is now prepared for QAPIfied object-add.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 tests/qemumonitorjsontest.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c
index 82c74e2ef9..48b41c908a 100644
--- a/tests/qemumonitorjsontest.c
+++ b/tests/qemumonitorjsontest.c
@@ -2740,20 +2740,6 @@ testQAPISchemaObjectDeviceAdd(const void *opaque)
         return -1;
     }

-    if (virQEMUQAPISchemaPathGet("object-add/arg-type", schema, &entry) < 0) {
-        fprintf(stderr, "schema for 'objectadd' not found\n");
-        return -1;
-    }
-
-    if (testQEMUSchemaEntryMatchTemplate(entry,
-                                         "str:qom-type",
-                                         "str:id",
-                                         "any:props",
-                                         NULL) < 0) {
-        VIR_TEST_VERBOSE("object-add has unexpected members in schema");
-        return -1;
-    }
-
     return 0;
 }

-- 
2.29.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