iotests: Test reverse sub-cluster qcow2 writes

This exercises the regression introduced in commit
50ba5b2d99.  On my machine, it has close
to a 50 % false-negative rate, but that should still be sufficient to
test the fix.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Tested-by: Stefano Garzarella <sgarzare@redhat.com>
Tested-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Max Reitz 2019-08-23 15:03:41 +02:00 committed by Kevin Wolf
parent b2c6f23f4a
commit ae6ef01909
3 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,6 @@
QA output created by 265
--- Writing to the image ---
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
--- Verifying its content ---
Content verified.
*** done