qemu-iotests: Add iotests.supports_quorum()
authorAlberto Garcia <berto@igalia.com>
Fri, 28 Oct 2016 07:08:17 +0000 (10:08 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Oct 2016 15:52:39 +0000 (16:52 +0100)
commitb0f904950c84c8de24ed0be75d5d48e2f7ff1e73
tree26e3bae7c6d8e02f70ebc5eb3893dc20502af07d
parent704d59f13d5b0e02674f18fa32f8c44ca18abea3
qemu-iotests: Add iotests.supports_quorum()

There's many tests that need Quorum support in order to run. At the
moment each test implements its own check to see if Quorum is
enabled. This patch centralizes all those checks in a new function
called iotests.supports_quorum().

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/041
tests/qemu-iotests/139
tests/qemu-iotests/iotests.py