[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46625: tramp-test33-environment-variables fails
From: |
Michael Albinus |
Subject: |
bug#46625: tramp-test33-environment-variables fails |
Date: |
Fri, 19 Feb 2021 09:25:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Glenn Morris <rgm@gnu.org> writes:
Hi Glenn,
> tramp-test33-environment-variables fails on hydra.nixos since
> e5f50f32f76bab2607d77f0dc51cf81ec0c1e232.
>
> It seems to me that:
>
> (string-match-p (regexp-quote envvar) "printenv")
>
> isn't a robust way to test if ENVVAR is (not) set, because it can
> falsely match on $_=ENVVAR.
Thanks for the report. I've changed the way how Tramp suppresses unused
environment variables, unfortunately this new problem doesn't occur when
I run this test locally. Likely, it depends on the shell flavor /bin/sh
is pointing too.
Fixed and pushed, closing the bug.
Best regards, Michael.