mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 12:14:15 +08:00
9ca35f454f
ix passthrough mount helper for running xfstests * The mount helper does not see the env vars exported by xfstests * Use the NFS style format TEST_DEV=source:/$TEST_SOURCE to communicate the sourse path to the mount helper without confusing xfstest * Also recognise when source= is provided in mount options * Support -o remount (e.g. for test generic/306) Signed-off-by: Amir Goldstein <amir73il@gmail.com> Co-authored-by: Bernd Schubert <bschubert@ddn.com> Co-authored-by: Amir Goldstein <amir73il@gmail.com> Co-authored-by: Nikolaus Rath <Nikolaus@rath.org> |
||
---|---|---|
.. | ||
local.config | ||
mount.fuse.passthrough | ||
README.md |
To test FUSE with xfstests¹:
-
copy the
mount.fuse.passthrough
file into/sbin
and edit thePASSTHROUGH_PATH
,SCRATCH_SOURCE
andTEST_SOURCE
variables as needed. -
Make sure that the
SCRATCH_SOURCE
andTEST_SOURCE
directories exist. -
Copy
local.config
into your xfstests directory
Tests can then be run with e.g.:
# make
# sudo ./check -fuse -b
¹https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/about/