From ed520e266da89f099a556d05b0a6464a5f9cfcbb Mon Sep 17 00:00:00 2001 From: Ellis Hoag Date: Fri, 30 May 2025 19:16:54 -0700 Subject: [PATCH] [Sanitizer][NFC] Remove extra env from test --- .../TestCases/Posix/sanitizer_set_report_path_fail.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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