From 5e52f3a142ef4502143602c526806de03b97afc7 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 21 Apr 2014 14:21:24 +0000 Subject: [PATCH] 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 llvm-svn: 206754 --- compiler-rt/test/tsan/signal_errno.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler-rt/test/tsan/signal_errno.cc b/compiler-rt/test/tsan/signal_errno.cc index 651f916ac0c5..51e4d855dc0e 100644 --- a/compiler-rt/test/tsan/signal_errno.cc +++ b/compiler-rt/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