From e4a3653bc318f20419c08a840eb6d3bd1ab24885 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Thu, 10 Sep 2026 21:00:04 -0700 Subject: [PATCH] tests: printenv: fix a false failure on GNU/Hurd * tests/misc/printenv.sh: Also filter out LD_ORIGIN_PATH. --- tests/misc/printenv.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/misc/printenv.sh b/tests/misc/printenv.sh index a6eab09f6..b8c3696c4 100755 --- a/tests/misc/printenv.sh +++ b/tests/misc/printenv.sh @@ -102,7 +102,8 @@ done for qs in literal shell c; do env -i PATH="$PATH" QUOTING_STYLE=$qs 'a b'='c d' \ printenv >out-t 2>err || fail=1 - grep -vE '^["'"'"']?(__CF_USER_TEXT_ENCODING|QUOTING_STYLE|PATH)["'"'"']?=' \ + grep -vE '^["'"'"']?'\ +'(__CF_USER_TEXT_ENCODING|QUOTING_STYLE|(LD_ORIGIN_)?PATH)["'"'"']?=' \ out-t >out || framework_failure_ compare exp-noargs-$qs out || fail=1 compare /dev/null err || fail=1