summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-12-24 14:02:34 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-12-24 14:02:34 +0000
commit19969e504581c79a59a38eed35ee48151a6572ac (patch)
treea8cb589424ba816ea8efd03365eff88e99a47477 /compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc
parentf6d80215202c858440a6bc69937a08bb37d6ff28 (diff)
downloadbcm5719-llvm-19969e504581c79a59a38eed35ee48151a6572ac.tar.gz
bcm5719-llvm-19969e504581c79a59a38eed35ee48151a6572ac.zip
tsan: work around FileCheck feature that it does not accept empty input
llvm-svn: 171034
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc')
-rw-r--r--compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc b/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc
index 1be1a3474b0..2da69ea2111 100644
--- a/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc
+++ b/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc
@@ -27,6 +27,7 @@ int main() {
pthread_create(&t[1], NULL, Thread2, NULL);
pthread_join(t[0], NULL);
pthread_join(t[1], NULL);
+ printf("OK\n");
}
// CHECK-NOT: WARNING: ThreadSanitizer: data race
OpenPOWER on IntegriCloud