btrfs-progs: add tests.
This commit is contained in:
parent
551be447d0
commit
4b0650b1e3
1 changed files with 18 additions and 0 deletions
|
@ -7,6 +7,7 @@ build_style=gnu-configure
|
|||
configure_args="--disable-backtrace"
|
||||
hostmakedepends="automake libtool pkg-config asciidoc xmlto"
|
||||
makedepends="zlib-devel lzo-devel acl-devel libuuid-devel e2fsprogs-devel zstd-devel"
|
||||
checkdepends="util-linux acl-progs e2fsprogs"
|
||||
short_desc="Btrfs filesystem utilities"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
|
@ -24,6 +25,23 @@ pre_build() {
|
|||
fi
|
||||
}
|
||||
|
||||
do_check() {
|
||||
make fssum && # required by [TEST/misc] 019-recieve-clones-on-munted-subvol
|
||||
|
||||
# This test requires fallocate but the testsuite detection methods still can't
|
||||
# detect it properly so it keeps failing even when util-linux is added to checkdepends
|
||||
mv tests/fsck-tests/025-file-extents/test.sh{,.broken}
|
||||
|
||||
pushd tests
|
||||
./fsck-tests.sh
|
||||
./mkfs-tests.sh
|
||||
./cli-tests.sh
|
||||
./convert-tests.sh
|
||||
./misc-tests.sh
|
||||
./fuzz-tests.sh
|
||||
popd
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall btrfs-completion 644 /usr/share/bash-completion/completions btrfs
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue