qemu-iotests: only run 071 on qcow2
PATCH 1/1 qemu-iotests: only run 071 on qcow2
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.
--- tests/qemu-iotests/071 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qemu-iotests/071 +1 -1
@@ -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
Signature · 1 line
1.8.5.3
Quoted 30 lines · Stefan Hajnoczi
The 071 test is designed for IMGFMT=qcow2 because it uses the
l2_loadblkdebug 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 <[email protected]>--- tests/qemu-iotests/071 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/qemu-iotests/071 +1
-1@@ -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 LinuxSignature · 1 line
1.8.5.3
Stefan Hajnoczi
AppliedQuoted 5 lines · Stefan Hajnoczi
The 071 test is designed for IMGFMT=qcow2 because it uses the
l2_loadblkdebug 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".
Quoted 7 lines
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 <[email protected]>--- tests/qemu-iotests/071 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan