[compiler-rt] 74420ce - [Sanitizer][NFC] Remove extra env from test (#142247)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 30 21:56:07 PDT 2025


Author: Ellis Hoag
Date: 2025-05-30T21:56:03-07:00
New Revision: 74420ce52475435afc5f96e16c2004fc955f8871

URL: https://github.com/llvm/llvm-project/commit/74420ce52475435afc5f96e16c2004fc955f8871
DIFF: https://github.com/llvm/llvm-project/commit/74420ce52475435afc5f96e16c2004fc955f8871.diff

LOG: [Sanitizer][NFC] Remove extra env from test (#142247)

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_fail.cpp

Removed: 
    


################################################################################
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 <sanitizer/common_interface_defs.h>
 #include <stdio.h>


        


More information about the llvm-commits mailing list