qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, peter.maydell@linaro.org, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PULL 4/7] iotests: blacklist bochs and cloop for 205 and 208
Date: Tue, 10 Apr 2018 17:37:45 +0200	[thread overview]
Message-ID: <20180410153748.22505-5-kwolf@redhat.com> (raw)
In-Reply-To: <20180410153748.22505-1-kwolf@redhat.com>

From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

Blacklist these formats, as they don't support image creation, as they
say:
    > ./qemu-img create -f bochs x 1m
    qemu-img: x: Format driver 'bochs' does not support image creation

    > ./qemu-img create -f cloop x 1m
    qemu-img: x: Format driver 'cloop' does not support image creation

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 tests/qemu-iotests/205 | 2 +-
 tests/qemu-iotests/208 | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/qemu-iotests/205 b/tests/qemu-iotests/205
index e7b2eae51d..31b2f5707a 100755
--- a/tests/qemu-iotests/205
+++ b/tests/qemu-iotests/205
@@ -153,4 +153,4 @@ class TestNbdServerRemove(iotests.QMPTestCase):
 
 
 if __name__ == '__main__':
-    iotests.main()
+    iotests.main(supported_fmts=['generic'])
diff --git a/tests/qemu-iotests/208 b/tests/qemu-iotests/208
index 18f59ada94..1e202388dc 100755
--- a/tests/qemu-iotests/208
+++ b/tests/qemu-iotests/208
@@ -22,6 +22,8 @@
 
 import iotests
 
+iotests.verify_image_format(supported_fmts=['generic'])
+
 with iotests.FilePath('disk.img') as disk_img_path, \
      iotests.FilePath('disk-snapshot.img') as disk_snapshot_img_path, \
      iotests.FilePath('nbd.sock') as nbd_sock_path, \
-- 
2.13.6

  parent reply	other threads:[~2018-04-10 15:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10 15:37 [Qemu-devel] [PULL 0/7] Block layer patches for 2.12.0-rc3 Kevin Wolf
2018-04-10 15:37 ` [Qemu-devel] [PULL 1/7] iotests.py: support unsupported_fmts in main() Kevin Wolf
2018-04-10 15:37 ` [Qemu-devel] [PULL 2/7] hw/block/pflash_cfi: fix off-by-one error Kevin Wolf
2018-04-10 15:37 ` [Qemu-devel] [PULL 3/7] iotests.py: improve verify_image_format helper Kevin Wolf
2018-04-10 15:37 ` Kevin Wolf [this message]
2018-04-10 15:37 ` [Qemu-devel] [PULL 5/7] qemu-iotests: Remove _supported_fmt dmg Kevin Wolf
2018-04-10 15:37 ` [Qemu-devel] [PULL 6/7] commit/stream: Reset delay_ns Kevin Wolf
2018-04-10 15:37 ` [Qemu-devel] [PULL 7/7] qemu-iotests: update 185 output Kevin Wolf
2018-04-11 10:21 ` [Qemu-devel] [PULL 0/7] Block layer patches for 2.12.0-rc3 Peter Maydell

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=20180410153748.22505-5-kwolf@redhat.com \
    --to=kwolf@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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).