]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemumonitorjsontest: Space out test name concatenation
authorPeter Krempa <pkrempa@redhat.com>
Wed, 1 Apr 2020 10:37:48 +0000 (12:37 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 3 Apr 2020 07:36:20 +0000 (09:36 +0200)
The test name is concatenated from a prefix with the test name, but no
space was added so the output looked wrong.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemumonitorjsontest.c

index 472775a3cf023313a352d9c9c22b9db0dfb951ee..fea95ed7c065bdba04f1ba7290a937e68a7a2513 100644 (file)
@@ -3272,7 +3272,7 @@ mymain(void)
         qapiData.query = qry; \
         qapiData.rc = scc; \
         qapiData.replyobj = rplobj; \
-        if (virTestRun("qapi schema query" nme, testQAPISchemaQuery, &qapiData) < 0)\
+        if (virTestRun("qapi schema query " nme, testQAPISchemaQuery, &qapiData) < 0)\
             ret = -1; \
     } while (0)
 
@@ -3304,7 +3304,7 @@ mymain(void)
         qapiData.query = rootquery; \
         qapiData.success = scc; \
         qapiData.json = jsonstr; \
-        if (virTestRun("qapi schema validate" nme, testQAPISchemaValidate, &qapiData) < 0)\
+        if (virTestRun("qapi schema validate " nme, testQAPISchemaValidate, &qapiData) < 0)\
             ret = -1; \
     } while (0)