#!/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 . $(dirname $(readlink -e "${BASH_SOURCE[0]}"))/../fstests.sh require-kernel-config BCACHEFS_POSIX_ACL require-kernel-config BCACHEFS_QUOTA require-kernel-config QUOTA [[ ! -v MKFS_OPTIONS ]] && export MKFS_OPTIONS="--encrypted --no_passphrase --errors=ro" export FSTYP=bcachefs run_test() { if [[ ! -f /xfstests-init-done ]]; then bcachefs_antagonist fi run_fstests "$@" bcachefs_test_end_checks ${ktest_scratch_dev[0]} ${ktest_scratch_dev[1]} } main "$@"