summaryrefslogtreecommitdiff
path: root/test/scudo/valloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/scudo/valloc.cpp')
-rw-r--r--test/scudo/valloc.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/scudo/valloc.cpp b/test/scudo/valloc.cpp
index eef556f46..8764502a1 100644
--- a/test/scudo/valloc.cpp
+++ b/test/scudo/valloc.cpp
@@ -1,7 +1,8 @@
// 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
+// UNSUPPORTED: android
// Tests that valloc and pvalloc work as intended.