summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/strspn-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/strspn-1.c')
-rw-r--r--test/asan/TestCases/strspn-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/strspn-1.c b/test/asan/TestCases/strspn-1.c
index b35d72828..24d0d2daa 100644
--- a/test/asan/TestCases/strspn-1.c
+++ b/test/asan/TestCases/strspn-1.c
@@ -1,5 +1,5 @@
// Test string s1 overflow in strspn 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_strspn asan option
// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:intercept_strspn=false %run %t 2>&1