qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC v5 26/26] tests: qmp-test: add oob test


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [RFC v5 26/26] tests: qmp-test: add oob test
Date: Thu, 14 Dec 2017 14:47:12 +0000
User-agent: Mutt/1.9.1 (2017-09-22)

On Tue, Dec 05, 2017 at 01:52:00PM +0800, Peter Xu wrote:
> +    /* Try a fake capability, it should fail. */
> +    resp = qmp("{ 'execute': 'qmp_capabilities', "
> +               "  'arguments': { 'enable': [ 'cap-does-not-exist' ] } }");
> +    g_assert(qdict_haskey(resp, "error"));

Missing QDECREF(resp) here and throughout the rest of the function.

Besides that:

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]