iotests: Add more "skip_if_unsupported" statements to the python tests
commit9442bebe6e67a5d038bbf2572b79e7b59d202a23
authorThomas Huth <thuth@redhat.com>
Tue, 14 Jan 2020 14:02:03 +0000 (14 15:02 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 27 Jan 2020 16:19:53 +0000 (27 17:19 +0100)
tree4fd97e25cdb5b2c1266c6661b9729562812a8d2b
parent8da7969bd7014f6de037d8ae132b40721944b186
iotests: Add more "skip_if_unsupported" statements to the python tests

The python code already contains a possibility to skip tests if the
corresponding driver is not available in the qemu binary - use it
in more spots to avoid that the tests are failing if the driver has
been disabled.

While we're at it, we can now also remove some of the old checks that
were using iotests.supports_quorum() - and which were apparently not
working as expected since the tests aborted instead of being skipped
when "quorum" was missing in the QEMU binary.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/030
tests/qemu-iotests/040
tests/qemu-iotests/041
tests/qemu-iotests/245