From patchwork Tue Apr 24 13:54:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 154685 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 61DFEB6FD3 for ; Wed, 25 Apr 2012 00:28:01 +1000 (EST) Received: from localhost ([::1]:42258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMgD6-0007OE-NS for incoming@patchwork.ozlabs.org; Tue, 24 Apr 2012 09:55:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMgCn-0006bu-Im for qemu-devel@nongnu.org; Tue, 24 Apr 2012 09:55:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMgCh-0000ly-9r for qemu-devel@nongnu.org; Tue, 24 Apr 2012 09:54:57 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:43583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMgCh-0000j2-0n for qemu-devel@nongnu.org; Tue, 24 Apr 2012 09:54:51 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 24 Apr 2012 14:54:46 +0100 Received: from d06nrmr1507.portsmouth.uk.ibm.com (9.149.38.233) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 24 Apr 2012 14:54:12 +0100 Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q3ODsBBh2011344 for ; Tue, 24 Apr 2012 14:54:12 +0100 Received: from d06av10.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q3ODpPqY022813 for ; Tue, 24 Apr 2012 09:51:26 -0400 Received: from localhost (stefanha-thinkpad.manchester-maybrook.uk.ibm.com [9.174.219.241]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q3ODpPBo022805; Tue, 24 Apr 2012 09:51:25 -0400 From: Stefan Hajnoczi To: Date: Tue, 24 Apr 2012 14:54:00 +0100 Message-Id: <1335275640-3349-7-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1335275640-3349-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1335275640-3349-1-git-send-email-stefanha@linux.vnet.ibm.com> x-cbid: 12042413-5024-0000-0000-00000259DFE1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.107 Cc: Kevin Wolf , Paolo Bonzini , Eric Blake , Stefan Hajnoczi , Luiz Capitulino Subject: [Qemu-devel] [PATCH v2 6/6] qemu-iotests: fix missing 'result' variable assignment in 030 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org We test this value after block-job-cancel but forget to actually assign it. Signed-off-by: Stefan Hajnoczi --- tests/qemu-iotests/030 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030 index fdd7b3e..88a9b58 100755 --- a/tests/qemu-iotests/030 +++ b/tests/qemu-iotests/030 @@ -97,7 +97,7 @@ class TestStreamStop(ImageStreamingTestCase): events = self.vm.get_qmp_events(wait=False) self.assertEqual(events, [], 'unexpected QMP event: %s' % events) - self.vm.qmp('block-job-cancel', device='drive0') + result = self.vm.qmp('block-job-cancel', device='drive0') self.assert_qmp(result, 'return', {}) cancelled = False