diff options
author | Simon McVittie <smcv@collabora.com> | 2022-04-23 11:17:43 +0100 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2022-05-03 14:02:03 +0200 |
commit | c991f2dd9a9c1996f6515bbcc6e4817d9d7fe25d (patch) | |
tree | ce160a72117ad13763b88beefe358cd8b53b1082 | |
parent | e7c9b04f59737a01ec0b0389f598bb9223690a69 (diff) | |
download | bubblewrap-c991f2dd9a9c1996f6515bbcc6e4817d9d7fe25d.tar.gz |
tests: Disable sanitizers for try-syscall
gcc's AddressSanitizer makes system calls that our filter doesn't
allow for, resulting in a fatal error when run under a restrictive
seccomp filter.
try-syscall is a helper for the test, rather than being code under test
itself, so we don't really need this instrumentation in it: all we want
it to do is make some specific syscalls.
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | tests/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build index 0f32a37..87bf709 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -12,6 +12,7 @@ test_programs = [ executable( 'try-syscall', 'try-syscall.c', + override_options: ['b_sanitize=none'], ) test_scripts = [ |