Skip to content

Commit

Permalink
iotests: Restrict some Python tests to file
Browse files Browse the repository at this point in the history
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>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201027190600.192171-14-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
XanClic authored and kevmw committed Dec 11, 2020
1 parent b4a373b commit eda7a9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/qemu-iotests/206
Expand Up @@ -23,7 +23,8 @@
import iotests
from iotests import imgfmt

iotests.script_initialize(supported_fmts=['qcow2'])
iotests.script_initialize(supported_fmts=['qcow2'],
supported_protocols=['file'])
iotests.verify_working_luks()

with iotests.FilePath('t.qcow2') as disk_path, \
Expand Down
3 changes: 2 additions & 1 deletion tests/qemu-iotests/242
Expand Up @@ -24,7 +24,8 @@ import struct
from iotests import qemu_img_create, qemu_io, qemu_img_pipe, \
file_path, img_info_log, log, filter_qemu_io

iotests.script_initialize(supported_fmts=['qcow2'])
iotests.script_initialize(supported_fmts=['qcow2'],
supported_protocols=['file'])

disk = file_path('disk')
chunk = 256 * 1024
Expand Down

0 comments on commit eda7a9c

Please sign in to comment.