mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-25 00:12:19 +00:00
tests: add tests for SETFATTR
see https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10027
This commit is contained in:
parent
b0fb0de17c
commit
a8de7b7f55
@ -55,6 +55,17 @@ teardown() {
|
||||
$ABUILD
|
||||
}
|
||||
|
||||
@test "abuild: test SETFATTR in -dbg subpackage" {
|
||||
cd testrepo/dbgpkg
|
||||
ERROR_CLEANUP="$CLEANUP" SETFATTR=true $ABUILD
|
||||
}
|
||||
|
||||
@test "abuild: test SETFATTR failure in -dbg subpackage" {
|
||||
cd testrepo/dbgpkg
|
||||
run ERROR_CLEANUP="$CLEANUP" SETFATTR=false $ABUILD
|
||||
[ $status -ne 0 ]
|
||||
}
|
||||
|
||||
@test "abuild: verify that packages are reproducible built" {
|
||||
cd testrepo/pkg1
|
||||
arch=$($ABUILD -A)
|
||||
|
Loading…
Reference in New Issue
Block a user