aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHanna Reitz <hreitz@redhat.com>2022-04-21 16:24:35 +0200
committerHanna Reitz <hreitz@redhat.com>2022-04-25 14:46:45 +0200
commit348a0740afc5b313599533eb69bbb2b95d2f1bba (patch)
tree1ec4cfd1c6412c796a7740a2e7402054f7478b42 /tests
parent40bfeae1342cd1e4f3f204cf592fc089e839a002 (diff)
downloadqemu-348a0740afc5b313599533eb69bbb2b95d2f1bba.zip
qemu-348a0740afc5b313599533eb69bbb2b95d2f1bba.tar.gz
qemu-348a0740afc5b313599533eb69bbb2b95d2f1bba.tar.bz2
iotests/108: Fix when missing user_allow_other
FUSE exports' allow-other option defaults to "auto", which means that it will try passing allow_other as a mount option, and fall back to not using it when an error occurs. We make no effort to hide fusermount's error message (because it would be difficult, and because users might want to know about the fallback occurring), and so when allow_other does not work (primarily when /etc/fuse.conf does not contain user_allow_other), this error message will appear and break the reference output. We do not need allow_other here, though, so we can just pass allow-other=off to fix that. Reported-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com> Message-Id: <20220421142435.569600-1-hreitz@redhat.com> Tested-by: Markus Armbruster <armbru@redhat.com> Tested-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/1082
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/108 b/tests/qemu-iotests/108
index 688d3ae..9e923d6 100755
--- a/tests/qemu-iotests/108
+++ b/tests/qemu-iotests/108
@@ -326,7 +326,7 @@ else
$QSD \
--blockdev file,node-name=export-node,filename="$TEST_IMG" \
- --export fuse,id=fuse-export,node-name=export-node,mountpoint="$export_mp",writable=on,growable=off \
+ --export fuse,id=fuse-export,node-name=export-node,mountpoint="$export_mp",writable=on,growable=off,allow-other=off \
--pidfile "$TEST_DIR/qsd.pid" \
--daemonize
fi