From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJSG9-0001bL-MU for qemu-devel@nongnu.org; Fri, 28 Feb 2014 13:34:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJSG4-0005TF-KQ for qemu-devel@nongnu.org; Fri, 28 Feb 2014 13:34:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:13825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJSG4-0005T5-D5 for qemu-devel@nongnu.org; Fri, 28 Feb 2014 13:34:04 -0500 From: Stefan Hajnoczi Date: Fri, 28 Feb 2014 19:33:40 +0100 Message-Id: <1393612423-26267-7-git-send-email-stefanha@redhat.com> In-Reply-To: <1393612423-26267-1-git-send-email-stefanha@redhat.com> References: <1393612423-26267-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 6/9] qemu-io-test: Disable Quorum test when not compiled in. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Anthony Liguori From: Beno=C3=AEt Canet Quorum is not compiled by default: make the quorum 081 test aware of this. Signed-off-by: Benoit Canet Reviewed-by: Fam Zheng Signed-off-by: Stefan Hajnoczi --- tests/qemu-iotests/081 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qemu-iotests/081 b/tests/qemu-iotests/081 index f053f11..b512d00 100755 --- a/tests/qemu-iotests/081 +++ b/tests/qemu-iotests/081 @@ -56,6 +56,9 @@ function run_qemu() do_run_qemu "$@" 2>&1 | _filter_testdir | _filter_qmp | _filter_qemu= _io } =20 +test_quorum=3D$($QEMU_IMG --help|grep quorum) +[ "$test_quorum" =3D "" ] && _supported_fmt quorum + quorum=3D"file.driver=3Dquorum,file.children.0.file.filename=3D$TEST_DIR= /1.raw" quorum=3D"$quorum,file.children.1.file.filename=3D$TEST_DIR/2.raw" quorum=3D"$quorum,file.children.2.file.filename=3D$TEST_DIR/3.raw,file.v= ote-threshold=3D2" --=20 1.8.5.3