diff options
| author | Stefan Kangas | 2022-05-30 06:30:24 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-05-30 06:30:24 +0200 |
| commit | 52d41f2750c0f66d7f7ba8e198832734fe750fa5 (patch) | |
| tree | 590978976bf7d3889b7d3ae7bab5d5144b1d30cd | |
| parent | 48ef8ab15f0e884ac97736d1d24af7eecf9313cc (diff) | |
| parent | 1b7b69e764370288583aeeda38069a3c8f9ec912 (diff) | |
| download | emacs-52d41f2750c0f66d7f7ba8e198832734fe750fa5.tar.gz emacs-52d41f2750c0f66d7f7ba8e198832734fe750fa5.zip | |
Merge from origin/emacs-28
1b7b69e764 Some Tramp cleanup on MS Windows
| -rw-r--r-- | lisp/net/tramp.el | 3 | ||||
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index ef1e4206b6c..27c6dfde334 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -505,7 +505,8 @@ interpreted as a regular expression which always matches." | |||
| 505 | ;; either lower case or upper case letters. See | 505 | ;; either lower case or upper case letters. See |
| 506 | ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38079#20>. | 506 | ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38079#20>. |
| 507 | (defcustom tramp-restricted-shell-hosts-alist | 507 | (defcustom tramp-restricted-shell-hosts-alist |
| 508 | (when (eq system-type 'windows-nt) | 508 | (when (and (eq system-type 'windows-nt) |
| 509 | (not (string-match-p "sh$" tramp-encoding-shell))) | ||
| 509 | (list (format "\\`\\(%s\\|%s\\)\\'" | 510 | (list (format "\\`\\(%s\\|%s\\)\\'" |
| 510 | (regexp-quote (downcase tramp-system-name)) | 511 | (regexp-quote (downcase tramp-system-name)) |
| 511 | (regexp-quote (upcase tramp-system-name))))) | 512 | (regexp-quote (upcase tramp-system-name))))) |
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 1532cbe0493..569e9506d1e 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -5092,6 +5092,7 @@ If UNSTABLE is non-nil, the test is tagged as `:unstable'." | |||
| 5092 | :tags '(:expensive-test :tramp-asynchronous-processes :unstable) | 5092 | :tags '(:expensive-test :tramp-asynchronous-processes :unstable) |
| 5093 | (skip-unless (tramp--test-enabled)) | 5093 | (skip-unless (tramp--test-enabled)) |
| 5094 | (skip-unless (tramp--test-sh-p)) | 5094 | (skip-unless (tramp--test-sh-p)) |
| 5095 | (skip-unless (not (tramp--test-windows-nt-p))) | ||
| 5095 | (skip-unless (not (tramp--test-crypt-p))) | 5096 | (skip-unless (not (tramp--test-crypt-p))) |
| 5096 | ;; Since Emacs 27.1. | 5097 | ;; Since Emacs 27.1. |
| 5097 | (skip-unless (macrop 'with-connection-local-variables)) | 5098 | (skip-unless (macrop 'with-connection-local-variables)) |