Re: [PATCH v3 07/34] tests/test-qmp-cmds: Simplify test data setup

2020-03-16 Thread Marc-André Lureau
On Sun, Mar 15, 2020 at 3:55 PM Markus Armbruster wrote: > > Building requests with qdict_put() & friends is tedious to write and > hard to read. Parse them from string literals with > qdict_from_vjsonf_nofail() instead. > > Signed-off-by: Markus Armbruster & fixes the leak introduced in patch

[PATCH v3 07/34] tests/test-qmp-cmds: Simplify test data setup

2020-03-15 Thread Markus Armbruster
Building requests with qdict_put() & friends is tedious to write and hard to read. Parse them from string literals with qdict_from_vjsonf_nofail() instead. Signed-off-by: Markus Armbruster --- tests/test-qmp-cmds.c | 93 ++- 1 file changed, 38 insertions(