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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user