[Qemu-block] [PATCH v5 04/38] iotests: Only create BB if necessary

2015-09-18 Thread 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 
---
 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" <

Re: [Qemu-block] [PATCH v5 04/38] iotests: Only create BB if necessary

2015-09-18 Thread Eric Blake
On 09/18/2015 09:22 AM, Max Reitz wrote:
> 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 
> ---
>  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(-)
> 

Reviewed-by: Eric Blake 

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature