summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/strstr-1.c
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-07-07 09:55:00 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-07-07 09:55:00 +0000
commitd3b30c45fa5b39f4df21de34d703906dba573df8 (patch)
tree8d6ae86ece129c4530a7e1fdb1bb70019e7164ab /test/asan/TestCases/strstr-1.c
parente1d19d19744ad2f217ed7acb183d649f947ef2cc (diff)
[asan] Add missing $ASAN_OPTIONS to some test cases
Since http://reviews.llvm.org/D10294, ASan test cases now respect default env. options via `ASAN_OPTION=$ASAN_OPTIONS:additional_options=xxx`. This patch adds this to a few test cases where it's still missing. Differential Revision: http://reviews.llvm.org/D10988 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@241571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/strstr-1.c')
-rw-r--r--test/asan/TestCases/strstr-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/strstr-1.c b/test/asan/TestCases/strstr-1.c
index 1cbe6e9bd..193334e9b 100644
--- a/test/asan/TestCases/strstr-1.c
+++ b/test/asan/TestCases/strstr-1.c
@@ -1,5 +1,5 @@
// Test haystack overflow in strstr function
-// RUN: %clang_asan %s -o %t && ASAN_OPTIONS=strict_string_checks=true not %run %t 2>&1 | FileCheck %s
+// RUN: %clang_asan %s -o %t && env ASAN_OPTIONS=$ASAN_OPTIONS:strict_string_checks=true not %run %t 2>&1 | FileCheck %s
// Test intercept_strstr asan option
// Disable other interceptors because strlen may be called inside strstr