aboutsummaryrefslogtreecommitdiff
path: root/test-qmp-commands.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-03-26 15:08:26 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-03-26 15:08:26 -0500
commit29b18b7a53c0b5053e895947b0b9008120632f9b (patch)
tree6fdaf67eb7584425f45da21a78536b2a836cf9fe /test-qmp-commands.c
parent3d032f0f5a7968e1721dd6eca00b61ee84510411 (diff)
parent95b752bc32ccabe48430c0d0062b7c6947d864d0 (diff)
downloadqemu-29b18b7a53c0b5053e895947b0b9008120632f9b.zip
qemu-29b18b7a53c0b5053e895947b0b9008120632f9b.tar.gz
qemu-29b18b7a53c0b5053e895947b0b9008120632f9b.tar.bz2
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
* stefanha/trivial-patches: trace-events: Fix broken build caused by wrong format specifier test: add test-qmp-commands to make check qapi: remove print statements from test-qmp-commands test: remove qemu-ga reference vl.c: fix '-cpu ?' segfault
Diffstat (limited to 'test-qmp-commands.c')
-rw-r--r--test-qmp-commands.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test-qmp-commands.c b/test-qmp-commands.c
index fa5a7bd..60cbf01 100644
--- a/test-qmp-commands.c
+++ b/test-qmp-commands.c
@@ -46,7 +46,6 @@ static void test_dispatch_cmd(void)
resp = qmp_dispatch(QOBJECT(req));
assert(resp != NULL);
assert(!qdict_haskey(qobject_to_qdict(resp), "error"));
- g_print("\nresp: %s\n", qstring_get_str(qobject_to_json(resp)));
qobject_decref(resp);
QDECREF(req);
@@ -63,7 +62,6 @@ static void test_dispatch_cmd_error(void)
resp = qmp_dispatch(QOBJECT(req));
assert(resp != NULL);
assert(qdict_haskey(qobject_to_qdict(resp), "error"));
- g_print("\nresp: %s\n", qstring_get_str(qobject_to_json_pretty(resp)));
qobject_decref(resp);
QDECREF(req);
@@ -92,7 +90,6 @@ static void test_dispatch_cmd_io(void)
resp = qmp_dispatch(QOBJECT(req));
assert(resp != NULL);
assert(!qdict_haskey(qobject_to_qdict(resp), "error"));
- g_print("\nresp: %s\n", qstring_get_str(qobject_to_json_pretty(resp)));
qobject_decref(resp);
QDECREF(req);