qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Benoît Canet" <benoit.canet@irqsave.net>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, "Benoît Canet" <benoit.canet@irqsave.net>,
	famz@redhat.com, "Benoit Canet" <benoit@irqsave.net>,
	mreitz@redhat.com, stefanha@redhat.com
Subject: [Qemu-devel] [PATCH V3 3/3] qemu-io-test: Disable Quorum test when not compiled in.
Date: Sat, 22 Feb 2014 18:43:42 +0100	[thread overview]
Message-ID: <1393091022-12046-4-git-send-email-benoit.canet@irqsave.net> (raw)
In-Reply-To: <1393091022-12046-1-git-send-email-benoit.canet@irqsave.net>

Quorum is not compiled by default: make the quorum 081 test aware of this.

Signed-off-by: Benoit Canet <benoit@irqsave.net>
---
 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
 }
 
+test_quorum=$($QEMU_IMG --help|grep quorum)
+[ "$test_quorum" = "" ] && _supported_fmt quorum
+
 quorum="file.driver=quorum,file.children.0.file.filename=$TEST_DIR/1.raw"
 quorum="$quorum,file.children.1.file.filename=$TEST_DIR/2.raw"
 quorum="$quorum,file.children.2.file.filename=$TEST_DIR/3.raw,file.vote-threshold=2"
-- 
1.8.3.2

  parent reply	other threads:[~2014-02-22 17:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-22 17:43 [Qemu-devel] [PATCH V3 0/3] Fix some quorum nits after merge Benoît Canet
2014-02-22 17:43 ` [Qemu-devel] [PATCH V3 1/3] qmp: Fix BlockdevOptionQuorum Benoît Canet
2014-02-22 17:43 ` [Qemu-devel] [PATCH V3 2/3] qmp: Make Quorum error events more palatable Benoît Canet
2014-02-22 17:43 ` Benoît Canet [this message]
2014-02-24  2:35   ` [Qemu-devel] [PATCH V3 3/3] qemu-io-test: Disable Quorum test when not compiled in Fam Zheng
2014-02-26 15:20 ` [Qemu-devel] [PATCH V3 0/3] Fix some quorum nits after merge Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393091022-12046-4-git-send-email-benoit.canet@irqsave.net \
    --to=benoit.canet@irqsave.net \
    --cc=benoit@irqsave.net \
    --cc=famz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).