diff options
| author | Michael Albinus | 2019-09-15 16:52:22 +0200 |
|---|---|---|
| committer | Michael Albinus | 2019-09-15 16:52:22 +0200 |
| commit | 6d3cb263f941545c09acb7fb86b8336ad130aa8e (patch) | |
| tree | 82a8391c6ab28b5adee753ae5f777c1768075e36 | |
| parent | 24e0546bc1daa407843427e2e2ac59100c9e62e1 (diff) | |
| download | emacs-6d3cb263f941545c09acb7fb86b8336ad130aa8e.tar.gz emacs-6d3cb263f941545c09acb7fb86b8336ad130aa8e.zip | |
Use also truname of temporary-file-directory in shadowfile-tests.el
* test/lisp/shadowfile-tests.el (top): Use truename of
`temporary-file-directory' and
`shadow-test-remote-temporary-file-directory'. (Bug#37202)
(shadow-test08-shadow-todo, shadow-test09-shadow-copy-files):
Do not bind `shadow-test-remote-temporary-file-directory'.
| -rw-r--r-- | test/lisp/shadowfile-tests.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/lisp/shadowfile-tests.el b/test/lisp/shadowfile-tests.el index a93664f6536..d09c15e9919 100644 --- a/test/lisp/shadowfile-tests.el +++ b/test/lisp/shadowfile-tests.el | |||
| @@ -66,7 +66,12 @@ | |||
| 66 | (setq password-cache-expiry nil | 66 | (setq password-cache-expiry nil |
| 67 | shadow-debug t | 67 | shadow-debug t |
| 68 | tramp-verbose 0 | 68 | tramp-verbose 0 |
| 69 | tramp-message-show-message nil) | 69 | tramp-message-show-message nil |
| 70 | ;; On macOS, `temporary-file-directory' is a symlinked directory. | ||
| 71 | temporary-file-directory (file-truename temporary-file-directory) | ||
| 72 | shadow-test-remote-temporary-file-directory | ||
| 73 | (ignore-errors | ||
| 74 | (file-truename shadow-test-remote-temporary-file-directory))) | ||
| 70 | 75 | ||
| 71 | ;; This should happen on hydra only. | 76 | ;; This should happen on hydra only. |
| 72 | (when (getenv "EMACS_HYDRA_CI") | 77 | (when (getenv "EMACS_HYDRA_CI") |
| @@ -718,8 +723,6 @@ guaranteed by the originator of a cluster definition." | |||
| 718 | (shadow-info-file shadow-test-info-file) | 723 | (shadow-info-file shadow-test-info-file) |
| 719 | (shadow-todo-file shadow-test-todo-file) | 724 | (shadow-todo-file shadow-test-todo-file) |
| 720 | (shadow-inhibit-message t) | 725 | (shadow-inhibit-message t) |
| 721 | (shadow-test-remote-temporary-file-directory | ||
| 722 | (file-truename shadow-test-remote-temporary-file-directory)) | ||
| 723 | shadow-clusters shadow-literal-groups shadow-regexp-groups | 726 | shadow-clusters shadow-literal-groups shadow-regexp-groups |
| 724 | shadow-files-to-copy | 727 | shadow-files-to-copy |
| 725 | cluster1 cluster2 primary regexp file) | 728 | cluster1 cluster2 primary regexp file) |
| @@ -858,8 +861,6 @@ guaranteed by the originator of a cluster definition." | |||
| 858 | (shadow-info-file shadow-test-info-file) | 861 | (shadow-info-file shadow-test-info-file) |
| 859 | (shadow-todo-file shadow-test-todo-file) | 862 | (shadow-todo-file shadow-test-todo-file) |
| 860 | (shadow-inhibit-message t) | 863 | (shadow-inhibit-message t) |
| 861 | (shadow-test-remote-temporary-file-directory | ||
| 862 | (file-truename shadow-test-remote-temporary-file-directory)) | ||
| 863 | (shadow-noquery t) | 864 | (shadow-noquery t) |
| 864 | shadow-clusters shadow-files-to-copy | 865 | shadow-clusters shadow-files-to-copy |
| 865 | cluster1 cluster2 primary regexp file mocked-input) | 866 | cluster1 cluster2 primary regexp file mocked-input) |