summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/strstr-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/strstr-2.c')
-rw-r--r--test/asan/TestCases/strstr-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/strstr-2.c b/test/asan/TestCases/strstr-2.c
index 4e97d6be7..cd116212f 100644
--- a/test/asan/TestCases/strstr-2.c
+++ b/test/asan/TestCases/strstr-2.c
@@ -1,5 +1,5 @@
// Test needle 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