Handle case remote uid is 0 in some Tramp related tests
* test/lisp/filenotify-tests.el: * test/lisp/shadowfile-tests.el: Set `tramp-allow-unsafe-temporary-files' to t.
This commit is contained in:
parent
b9f339e8f8
commit
e6a700a28e
2 changed files with 7 additions and 1 deletions
|
@ -200,7 +200,10 @@ Return nil when any other file notification watch is still active."
|
|||
|
||||
(setq file-notify-debug nil
|
||||
password-cache-expiry nil
|
||||
tramp-verbose 0)
|
||||
tramp-verbose 0
|
||||
;; When the remote user id is 0, Tramp refuses unsafe temporary files.
|
||||
tramp-allow-unsafe-temporary-files
|
||||
(or tramp-allow-unsafe-temporary-files noninteractive))
|
||||
|
||||
;; This should happen on hydra only.
|
||||
(when (getenv "EMACS_HYDRA_CI")
|
||||
|
|
|
@ -72,6 +72,9 @@
|
|||
(setq password-cache-expiry nil
|
||||
shadow-debug (getenv "EMACS_HYDRA_CI")
|
||||
tramp-verbose 0
|
||||
;; When the remote user id is 0, Tramp refuses unsafe temporary files.
|
||||
tramp-allow-unsafe-temporary-files
|
||||
(or tramp-allow-unsafe-temporary-files noninteractive)
|
||||
;; On macOS, `temporary-file-directory' is a symlinked directory.
|
||||
temporary-file-directory (file-truename temporary-file-directory)
|
||||
shadow-test-remote-temporary-file-directory
|
||||
|
|
Loading…
Add table
Reference in a new issue