qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported


From: Eric Blake
Subject: Re: [Qemu-block] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats
Date: Fri, 9 Mar 2018 09:01:01 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 03/09/2018 04:41 AM, Amador Pahim wrote:
Using bochs or cloop, qemu-img will fail with:

   Format driver 'bochs' does not support image creation

Signed-off-by: Amador Pahim <address@hidden>
---
  tests/qemu-iotests/205 | 3 +++
  1 file changed, 3 insertions(+)

Reviewed-by: Eric Blake <address@hidden>


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')


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]