Received: from eggs.gnu.org ([2001:4830:134:3::10]:36337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBg0B-00048S-BY for qemu-devel@nongnu.org; Fri, 07 Feb 2014 02:37:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBg05-0003nq-D8 for qemu-devel@nongnu.org; Fri, 07 Feb 2014 02:37:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:65380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBg05-0003nj-4p for qemu-devel@nongnu.org; Fri, 07 Feb 2014 02:37:25 -0500 From: Markus Armbruster References: <1391697000-5855-1-git-send-email-armbru@redhat.com> <1391697000-5855-2-git-send-email-armbru@redhat.com> <52F44073.2070901@redhat.com> Date: Fri, 07 Feb 2014 08:37:18 +0100 In-Reply-To: <52F44073.2070901@redhat.com> (Eric Blake's message of "Thu, 06 Feb 2014 19:09:55 -0700") Message-ID: <87y51n9xw1.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 01/10] tests/qapi-schema: Actually check successful QMP command response List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: kwolf@redhat.com, qemu-devel@nongnu.org, aliguori@amazon.com, mdroth@linux.vnet.ibm.com Eric Blake writes: > On 02/06/2014 07:29 AM, Markus Armbruster wrote: >> Signed-off-by: Markus Armbruster >> --- >> tests/test-qmp-commands.c | 44 ++++++++++++++++++++++++++++++++++++-------- >> 1 file changed, 36 insertions(+), 8 deletions(-) >> >> diff --git a/tests/test-qmp-commands.c b/tests/test-qmp-commands.c >> index 5a3e82a..2416d07 100644 >> --- a/tests/test-qmp-commands.c >> +++ b/tests/test-qmp-commands.c >> @@ -71,6 +71,24 @@ static void test_dispatch_cmd_error(void) >> QDECREF(req); >> } >> >> +static QObject * >> +test_qmp_dispatch(QDict *req) > > Doesn't qemu style prefer this all on one line? > > Reviewed-by: Eric Blake It does, but my fingers still hate it... I'll wait a bit before I respin, to give others a chance to comment. Thanks for your prompt review!