diff --git a/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp b/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp --- a/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp +++ b/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp @@ -1,6 +1,6 @@ // RUN: %clangxx_asan -std=c++11 -O0 %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s -// RUN: %env_asan_opts=debug=1,verbosity=2 %run %t 2>&1 | FileCheck %s +// RUN: env MallocNanoZone=0 %run %t 2>&1 | FileCheck %s +// RUN: env MallocNanoZone=0 %env_asan_opts=debug=1,verbosity=2 %run %t 2>&1 | FileCheck %s // Test ASan initialization @@ -10,9 +10,6 @@ // lld - see https://bugs.llvm.org/show_bug.cgi?id=45076. // UNSUPPORTED: android, powerpc -// Deflake this test before reinabling for darwin (rdar://74992832) -// UNSUPPORTED: darwin - #include #include #include