From: Amador Pahim <apahim@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, qemu-block@nongnu.org, mreitz@redhat.com,
Amador Pahim <apahim@redhat.com>
Subject: [Qemu-devel] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats
Date: Fri, 9 Mar 2018 11:41:50 +0100 [thread overview]
Message-ID: <20180309104151.2431-2-apahim@redhat.com> (raw)
In-Reply-To: <20180309104151.2431-1-apahim@redhat.com>
Using bochs or cloop, qemu-img will fail with:
Format driver 'bochs' does not support image creation
Signed-off-by: Amador Pahim <apahim@redhat.com>
---
tests/qemu-iotests/205 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205
index e7b2eae51d..fff9be97d2 100644
--- a/tests/qemu-iotests/205
+++ b/tests/qemu-iotests/205
@@ -24,6 +24,9 @@ import iotests
import time
from iotests import qemu_img_create, qemu_io, filter_qemu_io, QemuIoInteractive
+
+iotests.verify_image_format(unsupported_fmts=['bochs', 'cloop'])
+
nbd_sock = 'nbd_sock'
nbd_uri = 'nbd+unix:///exp?socket=' + nbd_sock
disk = os.path.join(iotests.test_dir, 'disk')
--
2.14.3
next prev parent reply other threads:[~2018-03-09 10:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-09 10:41 [Qemu-devel] [PATCH 0/2] qemu-iotests fixes Amador Pahim
2018-03-09 10:41 ` Amador Pahim [this message]
2018-03-09 15:01 ` [Qemu-devel] [Qemu-block] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats Eric Blake
2018-03-09 10:41 ` [Qemu-devel] [PATCH 2/2] qemu-iotests: set exec permission for tests lacking it Amador Pahim
2018-03-09 15:02 ` Eric Blake
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=20180309104151.2431-2-apahim@redhat.com \
--to=apahim@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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).