Collin Funk <[email protected]> writes:

> * tests/env/env.sh: Also filter out LD_ORIGIN_PATH.
> ---
>  tests/env/env.sh | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/env/env.sh b/tests/env/env.sh
> index b00402deb..be822e346 100755
> --- a/tests/env/env.sh
> +++ b/tests/env/env.sh
> @@ -204,7 +204,8 @@ tr "'" '"' <exp-noargs-shell >exp-noargs-c || 
> framework_failure_
>  for qs in literal shell c; do
>    env -i PATH="$PATH" QUOTING_STYLE=$qs 'a b'='c d' \
>      env >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

Oops, this has to be done for tests/misc/printenv.sh too. I pushed that
[1].

Collin

[1] 
https://github.com/coreutils/coreutils/commit/e4a3653bc318f20419c08a840eb6d3bd1ab24885

Reply via email to