summaryrefslogtreecommitdiff
path: root/tests/fs/bcachefs/fuse.ktest
blob: 34e2a677116cfc167f4d2dfe2eff3bca70aec697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env bash

. $(dirname $(readlink -e "${BASH_SOURCE[0]}"))/bcachefs-test-libs.sh

require-git http://evilpiepirate.org/git/linuxquota.git
require-make linuxquota

require-git http://evilpiepirate.org/git/xfstests.git ../xfstests

. $(dirname $(readlink -e "${BASH_SOURCE[0]}"))/../fstests.sh

require-kernel-config FUSE_FS

export MKFS_OPTIONS=
export FSTYP=fuse.bcachefs
#export FUSE_SUBTYP=.bcachefs

run_tests()
{
    mv /usr/local/sbin/mount.fuse.bcachefs /sbin

    run_fstests "$@"
}

main "$@"