mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-06-07 19:58:50 +00:00
test: disable LSAN for sandbox tests
since they do not play well with seccomp and landlock
This commit is contained in:
parent
29be925c92
commit
1836692719
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ ATX_CHECK_LIB([
|
||||||
printf '%s\n\n%s\n' '#!/bin/sh' 'exit 2' > $tmpdir/false.sh
|
printf '%s\n\n%s\n' '#!/bin/sh' 'exit 2' > $tmpdir/false.sh
|
||||||
chmod +x $tmpdir/false.sh
|
chmod +x $tmpdir/false.sh
|
||||||
|
|
||||||
|
# LSAN does not play well with sandbox...
|
||||||
|
export ASAN_OPTIONS="$ASAN_OPTIONS:detect_leaks=0"
|
||||||
|
|
||||||
# Check both read-only and read/write mode.
|
# Check both read-only and read/write mode.
|
||||||
ATX_RUN([
|
ATX_RUN([
|
||||||
check-util-lib sandbox -r -d $tmpdir
|
check-util-lib sandbox -r -d $tmpdir
|
||||||
|
|
Loading…
Add table
Reference in a new issue