Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 721 Bytes

TESTING.md

File metadata and controls

41 lines (30 loc) · 721 Bytes

Testing AgentFS

FUSE

On macOS, install prerequisites first:

./scripts/install-deps.sh
brew install pkg-config libgit2 cmake

First, 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 /sbin

Then, clone the xfstests repo:

git clone git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git

Configure 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/