[compiler-rt] [Sanitizer][NFC] Remove extra env from test (PR #142247)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Fri May 30 19:18:18 PDT 2025
https://github.com/ellishg created https://github.com/llvm/llvm-project/pull/142247
Remove extra `%env` in test added by https://github.com/llvm/llvm-project/pull/141820
>From ed520e266da89f099a556d05b0a6464a5f9cfcbb Mon Sep 17 00:00:00 2001
From: Ellis Hoag <ellis.sparky.hoag at gmail.com>
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 <sanitizer/common_interface_defs.h>
#include <stdio.h>
More information about the llvm-commits
mailing list