mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
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"
|
configure_args="--disable-backtrace"
|
||||||
hostmakedepends="automake libtool pkg-config asciidoc xmlto"
|
hostmakedepends="automake libtool pkg-config asciidoc xmlto"
|
||||||
makedepends="zlib-devel lzo-devel acl-devel libuuid-devel e2fsprogs-devel zstd-devel"
|
makedepends="zlib-devel lzo-devel acl-devel libuuid-devel e2fsprogs-devel zstd-devel"
|
||||||
|
checkdepends="util-linux acl-progs e2fsprogs"
|
||||||
short_desc="Btrfs filesystem utilities"
|
short_desc="Btrfs filesystem utilities"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -24,6 +25,23 @@ pre_build() {
|
||||||
fi
|
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() {
|
post_install() {
|
||||||
vinstall btrfs-completion 644 /usr/share/bash-completion/completions btrfs
|
vinstall btrfs-completion 644 /usr/share/bash-completion/completions btrfs
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue