mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-26 13:44:19 +08:00
xfstests: Add the possibility for extra daemon options (#964)
We need to test w/o page cache, w/o passthrough and other options. I.e. we need to have the possibility to add these options via local.config
This commit is contained in:
parent
dd5349a2cf
commit
2105cd7724
@ -9,6 +9,9 @@ export FUSE_SUBTYP=.passthrough
|
||||
export MOUNT_OPTIONS=""
|
||||
export TEST_FS_MOUNT_OPTS=""
|
||||
|
||||
# extra binary options, such as '--direct-io' or '--nopassthrough', etc
|
||||
export EXTRA_BIN_OPTIONS=""
|
||||
|
||||
# If PASSTHROUGH_PATH is unset, the mount helper is going to look
|
||||
# for the binary '${FUSE_SUBTYP}', though omitting the leading dot '.'.
|
||||
# Example:
|
||||
|
@ -35,4 +35,6 @@ fi
|
||||
|
||||
[ -n "$PASSTHROUGH_PATH" ] || PASSTHROUGH_PATH=${0#*mount.fuse.}
|
||||
|
||||
exec "$PASSTHROUGH_PATH" -o fsname=$dev,allow_other $source "$mnt" -o "$mntopts" "$@"
|
||||
#echo "EXTRA_BIN_OPTIONS='${EXTRA_BIN_OPTIONS}'"
|
||||
|
||||
exec "$PASSTHROUGH_PATH" ${EXTRA_BIN_OPTIONS} -o fsname=$dev,allow_other $source "$mnt" -o "$mntopts" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user