From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwXzc-0007UI-HC for qemu-devel@nongnu.org; Wed, 11 Nov 2015 11:12:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwXyn-0007z4-7g for qemu-devel@nongnu.org; Wed, 11 Nov 2015 11:11:28 -0500 From: Kevin Wolf Date: Wed, 11 Nov 2015 17:08:44 +0100 Message-Id: <1447258124-32577-4-git-send-email-kwolf@redhat.com> In-Reply-To: <1447258124-32577-1-git-send-email-kwolf@redhat.com> References: <1447258124-32577-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PULL v3 41/41] iotests: Check for quorum support in test 139 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Alberto Garcia The quorum driver is always built in, but it is disabled during run-time if there's no SHA256 support available (see commit e94867e). This patch skips the quorum test in iotest 139 in that case. Signed-off-by: Alberto Garcia Message-id: 1447172891-20410-1-git-send-email-berto@igalia.com Signed-off-by: Max Reitz --- tests/qemu-iotests/139 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/qemu-iotests/139 b/tests/qemu-iotests/139 index b5470f7..42f78c7 100644 --- a/tests/qemu-iotests/139 +++ b/tests/qemu-iotests/139 @@ -400,6 +400,8 @@ class TestBlockdevDel(iotests.QMPTestCase): self.checkBlockDriverState('node1', False) def testQuorum(self): + if not 'quorum' in iotests.qemu_img_pipe('--help'): + return self.addQuorum('quorum0', 'node0', 'node1') # We cannot remove the children of a Quorum device self.delBlockDriverState('node0', expect_error = True) -- 1.8.3.1