git clone git@github.com:pjd/pjdfstest.git
cd pjdfstest
autoreconf -ifs
./configure
make pjdfstest
sudo make install
sudo dnf install perl-Test-Harness
mkdir -p ../agentfs-testing
cd ../agentfs-testing
agentfs init testing
mkdir mnt
sudo su
agentfs mount testing ./mnt
cd mnt
prove -rv ../../pjdfstest/tests/ 2>&1 | tee /tmp/pjdfstest.logFirst, build the agentfs executable and install it locally including the mount.fuse.agentfs helper:
cd cli
cargo build --release
cp target/release/agentfs /usr/local/bin
cp scripts/mount.fuse.agentfs /sbinThen, clone the xfstests repo:
git clone git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.gitConfigure the filesystem under test:
cat local.config
export FSTYP=fuse
export FUSE_SUBTYP=.agentfs
export TEST_DEV=<database file>
export TEST_DIR=<mount directory>Then, run xfstests:
sudo ./check -g quick generic/