blob: 4cc07a49202f86cf6fea809930f5a1162cee5a38 (
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]}"))/../test-libs.sh
require-git http://evilpiepirate.org/git/bcachefs-tools.git
require-make bcachefs-tools
require-kernel-config BCACHEFS_FS=m
if [[ ! -v NO_BCACHEFS_DEBUG ]]; then
require-kernel-config BCACHEFS_DEBUG
fi
config-timeout 30
config-scratch-devs 4G
test_mount()
{
run_quiet "" bcachefs format -f --errors=panic ${ktest_scratch_dev[0]}
mount -t bcachefs ${ktest_scratch_dev[0]} /mnt
umount /mnt
}
main "$@"
|