From 8e9e653038db97bfd343c3fb217b7bf4da765a89 Mon Sep 17 00:00:00 2001 From: Max Reitz Date: Mon, 19 Oct 2015 17:53:10 +0200 Subject: iotests: Only create BB if necessary 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 +++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 45 insertions(+), 9 deletions(-) (limited to 'tests/qemu-iotests/071') diff --git a/tests/qemu-iotests/071 b/tests/qemu-iotests/071 index 9eaa49b419..92ab991456 100755 --- a/tests/qemu-iotests/071 +++ b/tests/qemu-iotests/071 @@ -104,8 +104,17 @@ echo echo "=== Testing blkdebug on existing block device ===" echo -run_qemu -drive "file=$TEST_IMG,format=raw,if=none,id=drive0" <