summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/148
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-04-12 17:47:15 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-04-12 17:47:15 +0100
commitd44122ecd0fa62d20762bdd8f214f077cb8e011b (patch)
treee65d377bcc840ab4d3ce660b5b659f06822e1125 /tests/qemu-iotests/148
parent42bb626f7ebc9197d2943b897a99e127315275ab (diff)
parent5158ac58306b3e8644fc020730f651fe74aa6674 (diff)
downloadqemu-d44122ecd0fa62d20762bdd8f214f077cb8e011b.tar.gz
Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging
Block layer patches for 2.6 # gpg: Signature made Tue 12 Apr 2016 17:10:29 BST using RSA key ID C88F2FD6 # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>" * remotes/kevin/tags/for-upstream: qemu-iotests: iotests.py: get rid of __all__ qemu-iotests: 068: don't require KVM qemu-iotests: 148: properly skip test if quorum support is missing qemu-iotests: iotests.VM: remove qtest socket on error qemu-iotests: fix 051 on non-PC architectures qemu-iotests: check: don't place files with predictable names in /tmp MAINTAINERS: Block layer core, qcow2 and blkdebug qcow2: Prevent backing file names longer than 1023 vpc: fix return value check for blk_pwrite iotests: Make 150 use qemu-img map instead of du block: initialize qcrypto API at startup qemu-img: fix formatting of error message iotests: fix the broken 026.nocache output Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/qemu-iotests/148')
-rw-r--r--tests/qemu-iotests/1484
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/qemu-iotests/148 b/tests/qemu-iotests/148
index d066ec3e41..e01b061fe7 100644
--- a/tests/qemu-iotests/148
+++ b/tests/qemu-iotests/148
@@ -79,9 +79,6 @@ sector = "%d"
self.assert_qmp(event, 'data/sector-num', sector)
def testQuorum(self):
- if not 'quorum' in iotests.qemu_img_pipe('--help'):
- return
-
# Generate an error and get an event
self.vm.hmp_qemu_io("drive0", "aio_read %d %d" %
(offset * sector_size, sector_size))
@@ -139,4 +136,5 @@ class TestFifoQuorumEvents(TestQuorumEvents):
read_pattern = 'fifo'
if __name__ == '__main__':
+ iotests.verify_quorum()
iotests.main(supported_fmts=["raw"])