From: Eric Farman <farman@linux.ibm.com>
To: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org,
Matthew Rosato <mjrosato@linux.ibm.com>,
Eric Farman <farman@linux.ibm.com>
Subject: [PATCH v1 3/3] iotests/fuse-mmap-shared: complete permission denied check
Date: Sat, 25 Jul 2026 14:56:51 +0200 [thread overview]
Message-ID: <20260725125651.3896151-4-farman@linux.ibm.com> (raw)
In-Reply-To: <20260725125651.3896151-1-farman@linux.ibm.com>
As with iotests/108, there exists multiple messages that would
signal a permission error when accessing the fuse tests:
fusermount3: failed to open .../scratch/qcow2-file-fuse-mmap-shared/export.fuse: Permission denied
Incorporate an additional potential error message to cause the
test to be skipped rather than failed.
Fixes: ba20257d9b ("iotests: test shared mmap for fuse export")
Signed-off-by: Eric Farman <farman@linux.ibm.com>
---
tests/qemu-iotests/tests/fuse-mmap-shared | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/tests/fuse-mmap-shared b/tests/qemu-iotests/tests/fuse-mmap-shared
index 52941a3bb6..faa302e4db 100755
--- a/tests/qemu-iotests/tests/fuse-mmap-shared
+++ b/tests/qemu-iotests/tests/fuse-mmap-shared
@@ -28,8 +28,11 @@ def test_fuse_support(mount_point):
})
test_qsd.stop()
if 'error' in res:
- assert (res['error']['desc'] ==
- "Parameter 'type' does not accept value 'fuse'")
+ print(res)
+ assert ((res['error']['desc'] ==
+ "Parameter 'type' does not accept value 'fuse'") or
+ (res['error']['desc'] ==
+ "Failed to mount FUSE session to export"))
iotests.notrun('No FUSE support')
# Shared mmap when using direct IO is only supported for Linux kernels >= 6.6
--
2.53.0
prev parent reply other threads:[~2026-07-25 13:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-25 12:56 [PATCH v1 0/3] io_tests fuse fixes Eric Farman
2026-07-25 12:56 ` [PATCH v1 1/3] iotests/108: skip test if cannot access /dev/fuse Eric Farman
2026-07-25 12:56 ` [PATCH v1 2/3] iotests/file-io-error: complete permission denied check Eric Farman
2026-07-25 12:56 ` Eric Farman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260725125651.3896151-4-farman@linux.ibm.com \
--to=farman@linux.ibm.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=mjrosato@linux.ibm.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.