qemu-iotests: only run 071 on qcow2
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 29 Jan 2014 15:33:54 +0000 (16:33 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 31 Jan 2014 21:05:03 +0000 (22:05 +0100)
The 071 test is designed for IMGFMT=qcow2 because it uses the l2_load
blkdebug event.  Its output filtering also assumes that IMGFMT is not
raw since 071.out contains "format=raw" but IMGFMT=raw would filter the
output to "format=IMGFMT".

Perhaps the test case can be rewritten to be more generic, but for now
let's document that it was only supposed to work with qcow2.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
tests/qemu-iotests/071

index 2a22546e1af6a9fa40c831b79d359a83054cf2c1..dbc07c6c4f53f906f688c005fba430c98d7895c8 100755 (executable)
@@ -38,7 +38,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 . ./common.rc
 . ./common.filter
 
-_supported_fmt generic
+_supported_fmt qcow2
 _supported_proto generic
 _supported_os Linux