On Wed, Jul 15, 2026 at 12:34:50PM +0200, Denis V. Lunev wrote: > file-io-error, fuse-allow-other and fuse-mmap-shared skip only when > FUSE is not compiled in. When FUSE is built in but unusable at run > time (no /dev/fuse access, fusermount lacking permissions), the > export fails to mount with "Failed to mount FUSE session to export" > and the tests report a spurious failure instead of skipping, like > NBD tests already do for missing NBD support. > > Add _notrun_on_fuse_error() to common.rc and use it in the shell > tests. fuse-mmap-shared is Python, so it gets an equivalent inline > check. > > Signed-off-by: Denis V. Lunev <[email protected]> > CC: Kevin Wolf <[email protected]> > CC: Hanna Reitz <[email protected]> > --- > tests/qemu-iotests/common.rc | 14 ++++++++++++++ > tests/qemu-iotests/tests/file-io-error | 4 +--- > tests/qemu-iotests/tests/fuse-allow-other | 2 ++ > tests/qemu-iotests/tests/fuse-mmap-shared | 9 ++++++--- > 4 files changed, 23 insertions(+), 6 deletions(-)
Reviewed-by: Daniel P. Berrangé <[email protected]> With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
