From 2d5eb7163c0c720f7f6b61cf422c23d92a53635c Mon Sep 17 00:00:00 2001 From: Renato Golin Date: Thu, 14 Apr 2016 13:31:22 +0000 Subject: Revert "Make tsan tests more portable (take 2)" This reverts commit r266294, as it broke some buildbots again. :/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@266300 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tsan/vfork.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/tsan/vfork.cc') diff --git a/test/tsan/vfork.cc b/test/tsan/vfork.cc index 2d669b305..5ae1dd1ab 100644 --- a/test/tsan/vfork.cc +++ b/test/tsan/vfork.cc @@ -26,7 +26,7 @@ int main() { pipe(fds); int pid = vfork(); if (pid < 0) { - fprintf(stderr, "FAIL to vfork\n"); + printf("FAIL to vfork\n"); exit(1); } if (pid == 0) { // child @@ -43,7 +43,7 @@ int main() { pthread_create(&t[1], NULL, Thread2, NULL); pthread_join(t[0], NULL); pthread_join(t[1], NULL); - fprintf(stderr, "DONE\n"); + printf("DONE\n"); } // CHECK-NOT: WARNING: ThreadSanitizer: data race -- cgit v1.2.3