summaryrefslogtreecommitdiff
path: root/test/scudo/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/scudo/options.cpp')
-rw-r--r--test/scudo/options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scudo/options.cpp b/test/scudo/options.cpp
index bb0ed2963..6464bc65b 100644
--- a/test/scudo/options.cpp
+++ b/test/scudo/options.cpp
@@ -1,7 +1,7 @@
// RUN: %clang_scudo %s -o %t
-// RUN: %run %t 2>&1
-// RUN: SCUDO_OPTIONS=DeallocationTypeMismatch=0 %run %t 2>&1
-// RUN: SCUDO_OPTIONS=DeallocationTypeMismatch=1 not %run %t 2>&1 | FileCheck %s
+// RUN: %run %t 2>&1
+// RUN: %env_scudo_opts=DeallocationTypeMismatch=0 %run %t 2>&1
+// RUN: %env_scudo_opts=DeallocationTypeMismatch=1 not %run %t 2>&1 | FileCheck %s
// Tests that the options can be passed using getScudoDefaultOptions, and that
// the environment ones take precedence over them.