diff options
| author | Michael Albinus | 2019-03-23 09:55:04 +0100 |
|---|---|---|
| committer | Michael Albinus | 2019-03-23 09:55:04 +0100 |
| commit | a3194e7b7654134a51bc066dbf91cf59c3ce393d (patch) | |
| tree | d8dba7e07759168304f85f031b63429c9ce06c39 /test | |
| parent | 86c3cd99bff27e35e25dec0ee3f0dc4536b171ea (diff) | |
| download | emacs-a3194e7b7654134a51bc066dbf91cf59c3ce393d.tar.gz emacs-a3194e7b7654134a51bc066dbf91cf59c3ce393d.zip | |
Fix Bug#34943
* lisp/files-x.el (cl-lib): Require when compiling.
(hack-connection-local-variables): Regard connection-local
variables as safe. (Bug#34943)
* lisp/shell.el (shell): Use `with-connection-local-variables' for
the whole code block. (Bug#34943)
* lisp/net/tramp-adb.el (tramp-connection-local-safe-shell-file-names):
Do not set values.
* lisp/net/tramp-integration.el
(tramp-connection-local-safe-shell-file-names): Remove.
(shell-file-name, shell-command-switch): Do not add safe-local-variable
property.
* lisp/net/tramp.el (tramp-handle-shell-command): Use proper
buffer name.
* test/lisp/net/tramp-tests.el (tramp-test34-explicit-shell-file-name):
Tag it :unstable.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 34b676ee324..7290eb23925 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -4350,7 +4350,9 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 4350 | ;; The functions were introduced in Emacs 26.1. | 4350 | ;; The functions were introduced in Emacs 26.1. |
| 4351 | (ert-deftest tramp-test34-explicit-shell-file-name () | 4351 | (ert-deftest tramp-test34-explicit-shell-file-name () |
| 4352 | "Check that connection-local `explicit-shell-file-name' is set." | 4352 | "Check that connection-local `explicit-shell-file-name' is set." |
| 4353 | :tags '(:expensive-test) | 4353 | ;; The handling of connection-local variables has changed. Test |
| 4354 | ;; must be reworked. | ||
| 4355 | :tags '(:expensive-test :unstable) | ||
| 4354 | (skip-unless (tramp--test-enabled)) | 4356 | (skip-unless (tramp--test-enabled)) |
| 4355 | (skip-unless (or (tramp--test-adb-p) (tramp--test-sh-p))) | 4357 | (skip-unless (or (tramp--test-adb-p) (tramp--test-sh-p))) |
| 4356 | ;; Since Emacs 26.1. | 4358 | ;; Since Emacs 26.1. |
| @@ -5715,6 +5717,7 @@ Since it unloads Tramp, it shall be the last test to run." | |||
| 5715 | ;; * Fix `tramp-test29-start-file-process', | 5717 | ;; * Fix `tramp-test29-start-file-process', |
| 5716 | ;; `tramp-test30-make-process' and `tramp-test32-shell-command' for | 5718 | ;; `tramp-test30-make-process' and `tramp-test32-shell-command' for |
| 5717 | ;; `adb' (see comment in `tramp-adb-send-command'). | 5719 | ;; `adb' (see comment in `tramp-adb-send-command'). |
| 5720 | ;; * Rework `tramp-test34-explicit-shell-file-name'. | ||
| 5718 | ;; * Fix Bug#16928 in `tramp-test43-asynchronous-requests'. | 5721 | ;; * Fix Bug#16928 in `tramp-test43-asynchronous-requests'. |
| 5719 | 5722 | ||
| 5720 | (provide 'tramp-tests) | 5723 | (provide 'tramp-tests) |