From 18366927197db9dbd2343d1c50a27ab681720598 Mon Sep 17 00:00:00 2001 From: CismonX Date: Wed, 5 Mar 2025 13:36:38 +0800 Subject: [PATCH] test: disable LSAN for sandbox tests since they do not play well with seccomp and landlock --- tests/lib_sandbox.at | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/lib_sandbox.at b/tests/lib_sandbox.at index e4a17fd..1eed135 100644 --- a/tests/lib_sandbox.at +++ b/tests/lib_sandbox.at @@ -17,6 +17,9 @@ ATX_CHECK_LIB([ printf '%s\n\n%s\n' '#!/bin/sh' 'exit 2' > $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. ATX_RUN([ check-util-lib sandbox -r -d $tmpdir