diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_fail.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_fail.cpp index 782cd0218fd22..af5187a0d3265 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_fail.cpp +++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_fail.cpp @@ -1,10 +1,10 @@ // RUN: %clangxx -O2 %s -o %t // Case 1: Try setting a path that is an invalid/inaccessible directory. -// RUN: not %env %run %t 2>&1 | FileCheck %s --check-prefix=ERROR1 +// RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=ERROR1 // Case 2: Try setting a path that is too large. -// RUN: not %env %run %t A 2>&1 | FileCheck %s --check-prefix=ERROR2 +// RUN: not %run %t A 2>&1 | FileCheck %s --check-prefix=ERROR2 #include #include