iotests: Prepare for refcount_bits option
commit5262caa75468adce44b57ed9c076b2f22bd9315f
authorMax Reitz <mreitz@redhat.com>
Wed, 18 Feb 2015 22:40:48 +0000 (18 17:40 -0500)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:21 +0000 (10 14:02 +0100)
tree18ba73a0eaa19369cdaa065003ffdebd4c605cef
parent8a17b83cc3d4aa61ed24e2682aaf8ada7130f03d
iotests: Prepare for refcount_bits option

Some tests do not work well with certain refcount widths (i.e. you
cannot create internal snapshots with refcount_bits=1), so make those
widths unsupported.

Furthermore, add another filter to _filter_img_create in common.filter
which filters out the refcount_bits value.

This is necessary for test 079, which does actually work with any
refcount width, but invoking qemu-img directly leads to the
refcount_bits value being visible in the output; use _make_test_img
instead which will filter it out.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
13 files changed:
tests/qemu-iotests/007
tests/qemu-iotests/015
tests/qemu-iotests/026
tests/qemu-iotests/029
tests/qemu-iotests/051
tests/qemu-iotests/058
tests/qemu-iotests/067
tests/qemu-iotests/079
tests/qemu-iotests/079.out
tests/qemu-iotests/080
tests/qemu-iotests/089
tests/qemu-iotests/108
tests/qemu-iotests/common.filter