From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpfim-00077j-RP for qemu-devel@nongnu.org; Fri, 23 Oct 2015 13:01:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpfil-0006bp-IT for qemu-devel@nongnu.org; Fri, 23 Oct 2015 13:01:40 -0400 From: Kevin Wolf Date: Fri, 23 Oct 2015 19:00:51 +0200 Message-Id: <1445619684-18216-5-git-send-email-kwolf@redhat.com> In-Reply-To: <1445619684-18216-1-git-send-email-kwolf@redhat.com> References: <1445619684-18216-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PULL 04/37] iotests: Only create BB if necessary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Max Reitz Tests 071 and 081 test giving references in blockdev-add. It is not necessary to create a BlockBackend here, so omit it. While at it, fix up some blockdev-add invocations in the vicinity (s/raw/$IMGFMT/ in 081, drop the format BDS for blkverify's raw child in 071). Signed-off-by: Max Reitz Signed-off-by: Kevin Wolf --- tests/qemu-iotests/071 | 54 ++++++++++++++++++++++++++++++++++++++-------- tests/qemu-iotests/071.out | 12 +++++++---- tests/qemu-iotests/081 | 18 +++++++++++++--- tests/qemu-iotests/081.out | 5 +++-- 4 files changed, 71 insertions(+), 18 deletions(-) diff --git a/tests/qemu-iotests/071 b/tests/qemu-iotests/071 index 9eaa49b..92ab991 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" <