From: Daan De Meyer Date: Mon, 27 May 2024 11:33:51 +0000 (+0200) Subject: test-execute: Skip system call filter tests when sanitizers are used X-Git-Tag: v256-rc4~81^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51e26d236680ff58bdb489bdcdab6e67d0e53510;p=thirdparty%2Fsystemd.git test-execute: Skip system call filter tests when sanitizers are used System call filtering is incompatible with sanitizers so let's skip these tests when we're built with sanitizers. --- diff --git a/src/test/test-execute.c b/src/test/test-execute.c index daddeb61d08..4b8daa46bb8 100644 --- a/src/test/test-execute.c +++ b/src/test/test-execute.c @@ -824,7 +824,7 @@ static void test_exec_temporaryfilesystem(Manager *m) { } static void test_exec_systemcallfilter(Manager *m) { -#if HAVE_SECCOMP +#if HAVE_SECCOMP && !HAS_FEATURE_ADDRESS_SANITIZER int r; if (!is_seccomp_available()) { @@ -867,7 +867,7 @@ static void test_exec_systemcallfilter(Manager *m) { } static void test_exec_systemcallerrornumber(Manager *m) { -#if HAVE_SECCOMP +#if HAVE_SECCOMP && !HAS_FEATURE_ADDRESS_SANITIZER int r; if (!is_seccomp_available()) {