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.
This commit is contained in:
Daan De Meyer
2024-05-30 12:47:45 +02:00
parent 4dc76eb770
commit 51e26d2366
+2 -2
View File
@@ -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()) {