diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-04-14 13:31:22 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-04-14 13:31:22 +0000 |
commit | 2d5eb7163c0c720f7f6b61cf422c23d92a53635c (patch) | |
tree | ddf6639a18546aafef37cedac7ead5e75ea116ed /test/tsan/vfork.cc | |
parent | 0f9d2c5fef1ad3d92f6153570477ada540056b58 (diff) |
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
Diffstat (limited to 'test/tsan/vfork.cc')
-rw-r--r-- | test/tsan/vfork.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |