Index: sandbox/linux/seccomp-bpf/trap_unittest.cc |
diff --git a/sandbox/linux/seccomp-bpf/trap_unittest.cc b/sandbox/linux/seccomp-bpf/trap_unittest.cc |
index 99f94bfb3a499e603b1b5dbd3db845261886cf92..3d95e3463ba75d85fff28f142c0666a2271471c9 100644 |
--- a/sandbox/linux/seccomp-bpf/trap_unittest.cc |
+++ b/sandbox/linux/seccomp-bpf/trap_unittest.cc |
@@ -12,6 +12,7 @@ |
namespace sandbox { |
namespace { |
+#if !defined(THREAD_SANITIZER) |
SANDBOX_TEST_ALLOW_NOISE(Trap, SigSysAction) { |
// This creates a global Trap instance, and registers the signal handler |
// (Trap::SigSysAction). |
@@ -23,6 +24,7 @@ SANDBOX_TEST_ALLOW_NOISE(Trap, SigSysAction) { |
// "Unexpected SIGSYS received." so it is necessary to allow the noise. |
raise(SIGSYS); |
} |
+#endif |
} // namespace |
} // namespace sandbox |