emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3c7b839: Fix Tramp bug#46625


From: Michael Albinus
Subject: master 3c7b839: Fix Tramp bug#46625
Date: Fri, 19 Feb 2021 03:22:06 -0500 (EST)

branch: master
commit 3c7b839e1a2bd8c896892c61f75a9016f52e787b
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Fix Tramp bug#46625
    
    * test/lisp/net/tramp-tests.el (tramp-test33-environment-variables):
    Adapt test.  (Bug#46625)
---
 test/lisp/net/tramp-tests.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 9a83fa6..016b4d3 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -5102,8 +5102,10 @@ INPUT, if non-nil, is a string sent to the process."
             (string-match-p
              (regexp-quote envvar)
              ;; We must remove PS1, the output is truncated otherwise.
+             ;; We must suppress "_=VAR...".
              (funcall
-              this-shell-command-to-string "printenv | grep -v PS1")))))))))
+              this-shell-command-to-string
+              "printenv | grep -v PS1 | grep -v _=")))))))))
 
 (tramp--test--deftest-direct-async-process tramp-test33-environment-variables
   "Check that remote processes set / unset environment variables properly.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]