diff options
| author | Bernd Schubert <bernd.schubert@fastmail.fm> | 2023-09-26 09:49:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-26 08:49:05 +0100 |
| commit | 9ca35f454f61df81af9bcb315908819fd2100696 (patch) | |
| tree | 60ae6cd3a02ab40d1b836f677810ef8142ab5bd1 /xfstests/local.config | |
| parent | eb9ccbe7a4c1e84538a9c02cad573f38e6ae750a (diff) | |
| download | libfuse-9ca35f454f61df81af9bcb315908819fd2100696.tar.gz | |
xfstests example: Use export in local.config and remove comment (#811)
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>
Diffstat (limited to 'xfstests/local.config')
| -rw-r--r-- | xfstests/local.config | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/xfstests/local.config b/xfstests/local.config index f20cec0..318f12c 100644 --- a/xfstests/local.config +++ b/xfstests/local.config @@ -1,12 +1,18 @@ -export TEST_DEV=non1 +export TEST_DEV=source:/mnt/src/test export TEST_DIR=/mnt/test -export SCRATCH_DEV=non2 + +export SCRATCH_DEV=source:/mnt/src/scratch export SCRATCH_MNT=/mnt/scratch + export FSTYP=fuse export FUSE_SUBTYP=.passthrough export MOUNT_OPTIONS="" export TEST_FS_MOUNT_OPTS="" -PASSTHROUGH_PATH=/home/nikratio/libfuse/build/example/passthrough_hp -SCRATCH_SOURCE=/mnt/src/scratch -TEST_SOURCE=/mnt/src/test +# If PASSTHROUGH_PATH is unset, the mount helper is going to look +# for the binary '${FUSE_SUBTYP}', though omitting the leading dot '.'. +# Example: +# with FUSE_SUBTYP=".passthrough", the mount helper is called +# 'mount.fuse.passthrough' and that would try to run +# 'passthrough'. +# export PASSTHROUGH_PATH=<path-to-libfuse-build>/example/passthrough_hp |
