mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-12 01:42:37 -07:00
Fix eglot-tests on MacOS (bug#80479)
* test/lisp/progmodes/eglot-tests.el (eglot--call-with-fixture): Normalise 'temporary-file-directory' to stave off problems that occur when it contains symlinks, which is common on MacOS.
This commit is contained in:
parent
a84530ac2e
commit
8c5be1a7a6
1 changed files with 2 additions and 1 deletions
|
|
@ -85,7 +85,8 @@ directory hierarchy."
|
|||
|
||||
(defun eglot--call-with-fixture (fixture fn)
|
||||
"Helper for `eglot--with-fixture'. Run FN under FIXTURE."
|
||||
(let* ((fixture-directory (make-nearby-temp-file "eglot--fixture-" t))
|
||||
(let* ((temporary-file-directory (file-truename temporary-file-directory))
|
||||
(fixture-directory (make-nearby-temp-file "eglot--fixture-" t))
|
||||
(default-directory (file-name-as-directory fixture-directory))
|
||||
created-files
|
||||
new-servers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue