On macOS, install prerequisites first:
./scripts/install-deps.sh
brew install pkg-config libgit2 cmakeFirst, 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/