summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Linux/init-order-dlopen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/Linux/init-order-dlopen.cc')
-rw-r--r--test/asan/TestCases/Linux/init-order-dlopen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/Linux/init-order-dlopen.cc b/test/asan/TestCases/Linux/init-order-dlopen.cc
index 17ba9d099..a04a84ed8 100644
--- a/test/asan/TestCases/Linux/init-order-dlopen.cc
+++ b/test/asan/TestCases/Linux/init-order-dlopen.cc
@@ -3,7 +3,7 @@
// RUN: %clangxx_asan -O0 -DSHARED_LIB %s -fPIC -shared -o %t-so.so
// RUN: %clangxx_asan -O0 %s %libdl -Wl,--export-dynamic -o %t
-// RUN: env ASAN_OPTIONS=strict_init_order=true %run %t 2>&1
+// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:strict_init_order=true %run %t 2>&1
#if defined(SHARED_LIB)
#include <stdio.h>