From 4c177c904778c45ebd992b7f651af4f0039c550c Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Fri, 17 Mar 2023 09:56:55 +0000 Subject: Add support for running xfstests. --- xfstests/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 xfstests/README.md (limited to 'xfstests/README.md') diff --git a/xfstests/README.md b/xfstests/README.md new file mode 100644 index 0000000..deda553 --- /dev/null +++ b/xfstests/README.md @@ -0,0 +1,18 @@ +To test FUSE with xfstests¹: + +1. copy the `mount.fuse.passthrough` file into + `/sbin` and edit the `PASSTHROUGH_PATH`, `SCRATCH_SOURCE` and `TEST_SOURCE` variables as needed. + +2. Make sure that the `SCRATCH_SOURCE` and `TEST_SOURCE` directories +exist. + +3. Copy `local.config` into your xfstests directory + +Tests can then be run with e.g.: + +```sh +# make +# sudo ./check -fuse -b +``` + +¹https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/about/ -- cgit v1.2.3