summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2014-04-21 14:21:24 +0000
committerDmitry Vyukov <dvyukov@google.com>2014-04-21 14:21:24 +0000
commit1375014d9d403cd2ae1157e13cbb9f6e3577f477 (patch)
tree1e80d1b54db8c76d4c580029015a98bbefa3eee6 /test
parent465df6b8b0f8473c833ae9d69f2138b03bba1376 (diff)
downloadcompiler-rt-1375014d9d403cd2ae1157e13cbb9f6e3577f477.tar.gz
tsan: deflake test
ocasionally it fails with a slightly different report: WARNING: ThreadSanitizer: signal handler spoils errno (pid=3674) #0 MyHandler(int, siginfo*, void*) ... #4 __tsan_free_hook #5 main signal_errno.cc:40 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/tsan/signal_errno.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/tsan/signal_errno.cc b/test/tsan/signal_errno.cc
index 651f916ac..51e4d855d 100644
--- a/test/tsan/signal_errno.cc
+++ b/test/tsan/signal_errno.cc
@@ -44,7 +44,6 @@ int main() {
// CHECK: WARNING: ThreadSanitizer: signal handler spoils errno
// CHECK: #0 MyHandler(int, siginfo{{(_t)?}}*, void*) {{.*}}signal_errno.cc
-// CHECK: #1 loop
-// CHECK: #2 main
+// CHECK: main
// CHECK: SUMMARY: ThreadSanitizer: signal handler spoils errno{{.*}}MyHandler