aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/139
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/139')
-rw-r--r--tests/qemu-iotests/1393
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/139 b/tests/qemu-iotests/139
index 6a0f6ca569..6d98e4f879 100644
--- a/tests/qemu-iotests/139
+++ b/tests/qemu-iotests/139
@@ -336,8 +336,9 @@ class TestBlockdevDel(iotests.QMPTestCase):
self.checkBlockDriverState('node1', False)
def testQuorum(self):
- if not 'quorum' in iotests.qemu_img_pipe('--help'):
+ if not iotests.supports_quorum():
return
+
self.addQuorum('quorum0', 'node0', 'node1')
# We cannot remove the children of a Quorum device
self.delBlockDriverState('node0', expect_error = True)