]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: qemumonitorjson: Replace use of virReportError
authorPeter Krempa <pkrempa@redhat.com>
Wed, 12 Jun 2019 07:19:25 +0000 (09:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 12 Jun 2019 07:19:25 +0000 (09:19 +0200)
Use VIR_TEST_VERBOSE instead. This fixes the following syntax check
problem:

tests/qemumonitorjsontest.c:1409:        virReportError(VIR_ERR_INTERNAL_ERROR, "arr should have been cleared");

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
tests/qemumonitorjsontest.c

index 68b115fa89e0f1d436507c61e493b7db446917b9..e087d1c256b3a1821c55c5b9d92e7a2ffdc7c22b 100644 (file)
@@ -1406,7 +1406,7 @@ testQemuMonitorJSONqemuMonitorJSONMergeBitmaps(const void *opaque)
         return -1;
 
     if (arr) {
-        virReportError(VIR_ERR_INTERNAL_ERROR, "arr should have been cleared");
+        VIR_TEST_VERBOSE("arr should have been cleared");
         return -1;
     }