iotests: Pull _filter_actual_image_size from 67/87
commit44673a0b59d1fafd1abfdf35a1ac924b856c6ad5
authorMax Reitz <mreitz@redhat.com>
Mon, 9 Oct 2017 16:34:55 +0000 (9 18:34 +0200)
committerMax Reitz <mreitz@redhat.com>
Thu, 26 Oct 2017 13:01:13 +0000 (26 15:01 +0200)
treeaf74021733aaec5831b21522a6dc4e1862c262ae
parentf700ceae8ab57a5c8973932c14f9abba1f99e5a8
iotests: Pull _filter_actual_image_size from 67/87

Tests 067 and 087 filter the actual image size because it depends on the
host filesystem (and is not part of the respective test).  Since this is
generally true, we should have a common filter function for this, so
let's pull out the sed line from both tests into such a function.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20171009163456.485-2-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/067
tests/qemu-iotests/087
tests/qemu-iotests/common.filter