summaryrefslogtreecommitdiff
path: root/test/scudo/memalign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/scudo/memalign.cpp')
-rw-r--r--test/scudo/memalign.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scudo/memalign.cpp b/test/scudo/memalign.cpp
index 8757c51c7..fece04dfc 100644
--- a/test/scudo/memalign.cpp
+++ b/test/scudo/memalign.cpp
@@ -1,7 +1,7 @@
// RUN: %clang_scudo %s -o %t
-// RUN: %run %t valid 2>&1
-// RUN: not %run %t invalid 2>&1
-// RUN: SCUDO_OPTIONS=allocator_may_return_null=1 %run %t invalid 2>&1
+// RUN: %run %t valid 2>&1
+// RUN: not %run %t invalid 2>&1
+// RUN: %env_scudo_opts=allocator_may_return_null=1 %run %t invalid 2>&1
// Tests that the various aligned allocation functions work as intended. Also
// tests for the condition where the alignment is not a power of 2.