Received: from eggs.gnu.org ([2001:4830:134:3::10]:46287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byhIg-00042Y-Nk for qemu-devel@nongnu.org; Mon, 24 Oct 2016 11:36:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byhIb-0006Ke-SG for qemu-devel@nongnu.org; Mon, 24 Oct 2016 11:36:34 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:37880) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byhIb-0006JB-MM for qemu-devel@nongnu.org; Mon, 24 Oct 2016 11:36:29 -0400 From: Eric Blake Date: Mon, 24 Oct 2016 10:36:21 -0500 Message-Id: <1477323383-12380-1-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] qmp output visitor test improvement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ptoscano@redhat.com, armbru@redhat.com Given the threads last week with Pino's claim that we had a memory leak, and Markus' counter-claim that the proposed patch was reverting an earlier double-free fix, I ended up enhancing the testsuite to prove under valgrind whether we indeed have a problem. The good news is that the existing visitor code is correct, but having more tests will help prevent future regression attempts :) Eric Blake (2): tests: Simplify expected error checking for qmp output tests: Enhance qmp output to cover partial visit tests/test-qmp-output-visitor.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) -- 2.7.4