summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-06-01 15:55:16 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-06-04 01:29:28 +0900
commit78690bb5d090563cf836de7c5145850d8f26eaab (patch)
tree5244c2a226b21f24b3e68c8496e21ec9a8e8bb65 /test
parent6d5b4efed23a0371275337038e2c4ea5e8e91ef6 (diff)
downloadsystemd-78690bb5d090563cf836de7c5145850d8f26eaab.tar.gz
test-network: disable SystemCallFilter= when *SAN is enabled
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 803b7122e8..d9242cb116 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -126,6 +126,8 @@ def setUpModule():
drop_in += ['Environment=LSAN_OPTIONS="' + lsan_options + '"']
if ubsan_options:
drop_in += ['Environment=UBSAN_OPTIONS="' + ubsan_options + '"']
+ if asan_options or lsan_options or ubsan_options:
+ drop_in += ['SystemCallFilter=']
if use_valgrind or asan_options or lsan_options or ubsan_options:
drop_in += ['MemoryDenyWriteExecute=no']