diff mbox series

[14/18] iotests: Restrict some Python tests to file

Message ID 20191219143818.1646168-15-mreitz@redhat.com (mailing list archive)
State New, archived
Headers show
Series block: Allow exporting BDSs via FUSE | expand

Commit Message

Max Reitz Dec. 19, 2019, 2:38 p.m. UTC
Most Python tests are restricted to the file protocol (without
explicitly saying so), but these are the ones that would break
./check -fuse -qcow2.

Signed-off-by: Max Reitz <mreitz@redhat.com>
---
 tests/qemu-iotests/206 | 1 +
 tests/qemu-iotests/242 | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/tests/qemu-iotests/206 b/tests/qemu-iotests/206
index 5bb738bf23..b3e8c5bb96 100755
--- a/tests/qemu-iotests/206
+++ b/tests/qemu-iotests/206
@@ -24,6 +24,7 @@  import iotests
 from iotests import imgfmt
 
 iotests.verify_image_format(supported_fmts=['qcow2'])
+iotests.verify_protocol(supported=['file'])
 
 def blockdev_create(vm, options):
     result = vm.qmp_log('blockdev-create',
diff --git a/tests/qemu-iotests/242 b/tests/qemu-iotests/242
index c176e92da6..452fbb7b80 100755
--- a/tests/qemu-iotests/242
+++ b/tests/qemu-iotests/242
@@ -25,6 +25,7 @@  from iotests import qemu_img_create, qemu_io, qemu_img_pipe, \
     file_path, img_info_log, log, filter_qemu_io
 
 iotests.verify_image_format(supported_fmts=['qcow2'])
+iotests.verify_protocol(supported=['file'])
 
 disk = file_path('disk')
 chunk = 256 * 1024