From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKrsC-0002t4-Uq for qemu-devel@nongnu.org; Mon, 09 Feb 2015 12:11:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKrs6-00061z-Q5 for qemu-devel@nongnu.org; Mon, 09 Feb 2015 12:11:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKrs6-00061r-JE for qemu-devel@nongnu.org; Mon, 09 Feb 2015 12:11:42 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t19HBfuT012067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 9 Feb 2015 12:11:42 -0500 From: Max Reitz Date: Mon, 9 Feb 2015 12:11:02 -0500 Message-Id: <1423501897-30410-3-git-send-email-mreitz@redhat.com> In-Reply-To: <1423501897-30410-1-git-send-email-mreitz@redhat.com> References: <1423501897-30410-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH v2 02/37] 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 , 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 Reviewed-by: Eric Blake --- 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" <