From 0cd488617cb9caa7375ccf62f35c0318d16a55e0 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 27 May 2024 10:23:38 +0200 Subject: [PATCH] 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. --- test/units/TEST-36-NUMAPOLICY.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/units/TEST-36-NUMAPOLICY.sh b/test/units/TEST-36-NUMAPOLICY.sh index 02ca88f80d..fcd3d6dd89 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