summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/strstr-1.c
diff options
context:
space:
mode:
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