iotests/040: Don't check image pattern on zero-length image
authorJohn Snow <jsnow@redhat.com>
Mon, 18 Apr 2022 21:14:56 +0000 (17:14 -0400)
committerHanna Reitz <hreitz@redhat.com>
Mon, 25 Apr 2022 12:30:08 +0000 (14:30 +0200)
commitaaa0c0ef825cd9d6c8219d5fe1ffea8db87b1b5d
tree334ddf8267ada499d3d54c1ac9e5081d78a030dd
parente9039c045180c5929c1f440e8b0cb7c7ebfc3576
iotests/040: Don't check image pattern on zero-length image

qemu-io fails on read/write beyond end-of-file on raw images, so skip
these invocations when running the zero-length image tests.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220418211504.943969-5-jsnow@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/040