From: Daan De Meyer Date: Mon, 27 May 2024 08:23:38 +0000 (+0200) Subject: TEST-36-NUMAPOLICY: Skip when running with sanitizers X-Git-Tag: v256-rc4~81^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cd488617cb9caa7375ccf62f35c0318d16a55e0;p=thirdparty%2Fsystemd.git TEST-36-NUMAPOLICY: Skip when running with sanitizers The test does not work under sanitizers as strace is used. Until the test is fixed to not use strace let's skip it when running with sanitizers. --- diff --git a/test/units/TEST-36-NUMAPOLICY.sh b/test/units/TEST-36-NUMAPOLICY.sh index 02ca88f80df..fcd3d6dd894 100755 --- a/test/units/TEST-36-NUMAPOLICY.sh +++ b/test/units/TEST-36-NUMAPOLICY.sh @@ -3,6 +3,11 @@ set -eux set -o pipefail +if [[ -n "${ASAN_OPTIONS:-}" ]]; then + echo "This test does not support running with sanitizers, skipping the test" | tee --append /skipped + exit 77 +fi + # shellcheck disable=SC2317 at_exit() { # shellcheck disable=SC2181