iotests/059: Filter out disk size with more standard filter
commit046e07ca556b3eb44ac5c64911b5bda204403113
authorKevin Wolf <kwolf@redhat.com>
Mon, 13 Jul 2020 13:45:37 +0000 (13 15:45 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 14 Jul 2020 13:18:59 +0000 (14 15:18 +0200)
tree2f80b1bf85944544cdb82f1cf92e9fb5613b85d6
parentd0ceea88dea053e0c1c038d42ca98782c2e3872d
iotests/059: Filter out disk size with more standard filter

The actual disk space used by an image can vary between filesystems and
depending on other settings like an extent size hint. Replace the one
call of "$QEMU_IMG info" and the associated one-off sed filter with the
more standard "_img_info" and the standard filter from common.filter.

Apart from turning "vmdk" into "IMGFMT" and changing the placeholder for
cid fields, this only removes the "disk size" line.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/059
tests/qemu-iotests/059.out