[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 6/9] qemu-io-test: Disable Quorum test when not compi
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PULL 6/9] qemu-io-test: Disable Quorum test when not compiled in. |
Date: |
Fri, 28 Feb 2014 19:33:40 +0100 |
From: BenoƮt Canet <address@hidden>
Quorum is not compiled by default: make the quorum 081 test aware of this.
Signed-off-by: Benoit Canet <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
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.5.3
- [Qemu-devel] [PULL 0/9] Block patches, Stefan Hajnoczi, 2014/02/28
- [Qemu-devel] [PULL 1/9] qemu-iotests: add more tests to the "quick" group, Stefan Hajnoczi, 2014/02/28
- [Qemu-devel] [PULL 4/9] qmp: Fix BlockdevOptionQuorum., Stefan Hajnoczi, 2014/02/28
- [Qemu-devel] [PULL 6/9] qemu-io-test: Disable Quorum test when not compiled in.,
Stefan Hajnoczi <=
- [Qemu-devel] [PULL 8/9] discard rbd error output when not relevant in qemu-iotests, Stefan Hajnoczi, 2014/02/28
- [Qemu-devel] [PULL 2/9] block: gluster - code movements, state storage changes, Stefan Hajnoczi, 2014/02/28
- [Qemu-devel] [PULL 5/9] qmp: Make Quorum error events more palatable., Stefan Hajnoczi, 2014/02/28
- [Qemu-devel] [PULL 3/9] block: gluster - add reopen support., Stefan Hajnoczi, 2014/02/28
- [Qemu-devel] [PULL 7/9] block: use /var/tmp instead of /tmp for -snapshot, Stefan Hajnoczi, 2014/02/28
- [Qemu-devel] [PULL 9/9] block/vmdk: do not report file offset for compressed extents, Stefan Hajnoczi, 2014/02/28