diff options
| author | Michael Albinus | 2018-02-03 20:08:29 +0100 |
|---|---|---|
| committer | Michael Albinus | 2018-02-03 20:08:29 +0100 |
| commit | a057771a5af5c9f33ab08a1a55676f3b0ddbee74 (patch) | |
| tree | 377cb73414fe777b114fa3f0e741a99a902ba220 /test | |
| parent | a2cb52cd2e7c497df51d751b91b331f59f9637e7 (diff) | |
| download | emacs-a057771a5af5c9f33ab08a1a55676f3b0ddbee74.tar.gz emacs-a057771a5af5c9f33ab08a1a55676f3b0ddbee74.zip | |
* test/lisp/files-tests.el (files-tests--with-temp-non-special):
Expand `temporary-file-directory' by `file-truename', in case
it is located on a symlinked directory. (Bug#30327)
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/files-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index 5f42b904cca..4e1d20edf05 100644 --- a/test/lisp/files-tests.el +++ b/test/lisp/files-tests.el | |||
| @@ -351,7 +351,8 @@ be invoked with the right arguments." | |||
| 351 | (declare (indent 1) (debug ((symbolp symbolp &optional form) body))) | 351 | (declare (indent 1) (debug ((symbolp symbolp &optional form) body))) |
| 352 | (cl-check-type name symbol) | 352 | (cl-check-type name symbol) |
| 353 | (cl-check-type non-special-name symbol) | 353 | (cl-check-type non-special-name symbol) |
| 354 | `(let* ((,name (make-temp-file "files-tests" ,dir-flag)) | 354 | `(let* ((temporary-file-directory (file-truename temporary-file-directory)) |
| 355 | (,name (make-temp-file "files-tests" ,dir-flag)) | ||
| 355 | (,non-special-name (file-name-quote ,name))) | 356 | (,non-special-name (file-name-quote ,name))) |
| 356 | (unwind-protect | 357 | (unwind-protect |
| 357 | (progn ,@body) | 358 | (progn ,@body) |