iotests: Make 091 work with data_file
commit990f9bcc734e1776e7660604305135a126dce797
authorMax Reitz <mreitz@redhat.com>
Thu, 7 Nov 2019 16:37:03 +0000 (7 17:37 +0100)
committerMax Reitz <mreitz@redhat.com>
Mon, 6 Jan 2020 12:43:07 +0000 (6 13:43 +0100)
tree2378188e96c70bb554f5aeae203afb7bf3f0ca20
parentd88bef1921721c1723cb201bc1e5ccd6a855258c
iotests: Make 091 work with data_file

The image end offset as reported by qemu-img check is different when
using an external data file; we do not care about its value here, so we
can just filter it.  Incidentally, common.rc already has _check_test_img
for us which does exactly that.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-id: 20191107163708.833192-18-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/091
tests/qemu-iotests/091.out