From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGC5r-0005wH-Fm for qemu-devel@nongnu.org; Tue, 27 Jan 2015 14:46:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGC5l-000232-9m for qemu-devel@nongnu.org; Tue, 27 Jan 2015 14:46:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGC5l-00022s-2N for qemu-devel@nongnu.org; Tue, 27 Jan 2015 14:46:29 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0RJkSlp011296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 27 Jan 2015 14:46:28 -0500 From: Max Reitz Date: Tue, 27 Jan 2015 14:45:35 -0500 Message-Id: <1422387983-32153-3-git-send-email-mreitz@redhat.com> In-Reply-To: <1422387983-32153-1-git-send-email-mreitz@redhat.com> References: <1422387983-32153-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH RESEND 02/50] iotests: Only create BB if necessary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Fam Zheng , Jeff Cody , Markus Armbruster , Max Reitz , Stefan Hajnoczi , John Snow Tests 071 and 081 test giving references in blockdev-add. It is not necessary to create a BlockBackend here, so omit it. Signed-off-by: Max Reitz --- tests/qemu-iotests/071 | 50 ++++++++++++++++++++++++++++++++++++++++++---- tests/qemu-iotests/071.out | 12 +++++++---- tests/qemu-iotests/081 | 14 ++++++++++++- tests/qemu-iotests/081.out | 5 +++-- 4 files changed, 70 insertions(+), 11 deletions(-) diff --git a/tests/qemu-iotests/071 b/tests/qemu-iotests/071 index 9eaa49b..68bedd4 100755 --- a/tests/qemu-iotests/071 +++ b/tests/qemu-iotests/071 @@ -104,11 +104,20 @@ echo echo "=== Testing blkdebug on existing block device ===" echo -run_qemu -drive "file=$TEST_IMG,format=raw,if=none,id=drive0" <