aboutsummaryrefslogtreecommitdiff
path: root/test/asan/TestCases/asan_options-help.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/asan_options-help.cc')
-rw-r--r--test/asan/TestCases/asan_options-help.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/asan_options-help.cc b/test/asan/TestCases/asan_options-help.cc
index f10830f16085..a5e19e0c2003 100644
--- a/test/asan/TestCases/asan_options-help.cc
+++ b/test/asan/TestCases/asan_options-help.cc
@@ -1,5 +1,5 @@
// RUN: %clangxx_asan -O0 %s -o %t
-// RUN: ASAN_OPTIONS=help=1 %run %t 2>&1 | FileCheck %s
+// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:help=1 %run %t 2>&1 | FileCheck %s
int main() {
}