aboutsummaryrefslogtreecommitdiff
path: root/test/asan/TestCases/deep_stack_uaf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/deep_stack_uaf.cc')
-rw-r--r--test/asan/TestCases/deep_stack_uaf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/deep_stack_uaf.cc b/test/asan/TestCases/deep_stack_uaf.cc
index 7b0f56ef3c66..95032f2bd4f5 100644
--- a/test/asan/TestCases/deep_stack_uaf.cc
+++ b/test/asan/TestCases/deep_stack_uaf.cc
@@ -1,7 +1,7 @@
// Check that we can store lots of stack frames if asked to.
// RUN: %clangxx_asan -O0 %s -o %t 2>&1
-// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:malloc_context_size=120:redzone=512 not %run %t 2>&1 | FileCheck %s
+// RUN: %env_asan_opts=malloc_context_size=120:redzone=512 not %run %t 2>&1 | FileCheck %s
// XFAIL: arm-linux-gnueabi
// XFAIL: armv7l-unknown-linux-gnueabihf
#include <stdlib.h>