summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-04-23 11:17:43 +0100
committerSimon McVittie <smcv@collabora.com>2022-04-23 17:42:39 +0100
commitb4c96281ffbc6f9351491a021f45ea5351f1a96f (patch)
tree90f1dc6a898488cfa7bf8466fe2d7384fc4a3743
parent1d6a50f76295b3e1a5a8b6d3da5db6de608b2bce (diff)
downloadbubblewrap-b4c96281ffbc6f9351491a021f45ea5351f1a96f.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.build1
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 = [