[compiler-rt] Revert "[sanitizer_common][test-only] Specify full path for sort executable in popen.cpp" (PR #171706)
Dan Blackwell via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 10 13:14:09 PST 2025
https://github.com/DanBlackwell created https://github.com/llvm/llvm-project/pull/171706
Reverts llvm/llvm-project#171622
>From f0c008ab99b2125741685bd4f061fb6ff3cf2c6b Mon Sep 17 00:00:00 2001
From: Andrew Haberlandt <ndrewh at users.noreply.github.com>
Date: Wed, 10 Dec 2025 10:28:30 -0800
Subject: [PATCH] =?UTF-8?q?Revert=20"[sanitizer=5Fcommon][test-only]=20Spe?=
=?UTF-8?q?cify=20full=20path=20for=20sort=20executable=20i=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This reverts commit c5995e25ba6a32b839cefe86abf721f57f9bf615.
---
compiler-rt/test/sanitizer_common/TestCases/Posix/popen.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/popen.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/popen.cpp
index fdbdb2f788b04..6bf6255a697a1 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/popen.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/popen.cpp
@@ -8,7 +8,7 @@
int main(void) {
// use a tool that produces different output than input to verify
// that everything worked correctly
- FILE *fp = popen("/usr/bin/sort", "w");
+ FILE *fp = popen("sort", "w");
assert(fp);
// verify that fileno() returns a meaningful descriptor (needed
More information about the llvm-commits
mailing list