From: Peter Krempa Date: Thu, 26 Nov 2020 17:31:47 +0000 (+0100) Subject: qemumonitorjsontest: Remove tripwire guarding object-add QAPIfication X-Git-Tag: v7.2.0-rc1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd4b791fc29f0cecd6fe0ad68034d10a01c28e2f;p=thirdparty%2Flibvirt.git qemumonitorjsontest: Remove tripwire guarding object-add QAPIfication Libvirt is now prepared for QAPIfied object-add. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- 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; }