aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/ignore_lib0.cc
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-02-21 13:53:12 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-02-21 13:53:12 +0000
commitc003a57e2e4a1ad9be0338806bc1038b6987155f (patch)
treecf295e125457815f2b478811e8414810b8ed7c14 /test/tsan/ignore_lib0.cc
parent48f79c11890f23f47fbe89ec54a57d5cd485a7b1 (diff)
downloadsrc-c003a57e2e4a1ad9be0338806bc1038b6987155f.tar.gz
src-c003a57e2e4a1ad9be0338806bc1038b6987155f.zip
Notes
Notes: svn path=/vendor/compiler-rt/dist/; revision=295850 svn path=/vendor/compiler-rt/compiler-rt-release_380-r262564/; revision=296362; tag=vendor/compiler-rt/compiler-rt-release_380-r262564
Diffstat (limited to 'test/tsan/ignore_lib0.cc')
-rw-r--r--test/tsan/ignore_lib0.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tsan/ignore_lib0.cc b/test/tsan/ignore_lib0.cc
index c72aa496a1cd..d6ae72f31638 100644
--- a/test/tsan/ignore_lib0.cc
+++ b/test/tsan/ignore_lib0.cc
@@ -1,9 +1,9 @@
// RUN: %clangxx_tsan -O1 %s -DLIB -fPIC -fno-sanitize=thread -shared -o %T/libignore_lib0.so
// RUN: %clangxx_tsan -O1 %s -L%T -lignore_lib0 -o %t
// RUN: echo running w/o suppressions:
-// RUN: LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %deflake %run %t | FileCheck %s --check-prefix=CHECK-NOSUPP
+// RUN: env LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %deflake %run %t | FileCheck %s --check-prefix=CHECK-NOSUPP
// RUN: echo running with suppressions:
-// RUN: LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %env_tsan_opts=suppressions='%s.supp' %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP
+// RUN: env LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %env_tsan_opts=suppressions='%s.supp' %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP
// Tests that interceptors coming from a library specified in called_from_lib
// suppression are ignored.