qemu-block
[Top][All Lists]
Advanced

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

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


From: Amador Pahim
Subject: [Qemu-block] [PATCH 1/2] qemu-iotests: skip test 205 for unsupported formats
Date: Fri, 9 Mar 2018 11:41:50 +0100

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(+)

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




reply via email to

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