aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias EngdegÄrd2026-02-24 21:42:44 +0100
committerMattias EngdegÄrd2026-02-24 21:42:44 +0100
commit8c5be1a7a6403f3bb8ff1a09a09fb63c2ec0097d (patch)
tree32bdbf5be5171f771189e1a963b5bfb76813732d
parenta84530ac2ed7b5c045176979002e635c9bdd462b (diff)
downloademacs-8c5be1a7a6403f3bb8ff1a09a09fb63c2ec0097d.tar.gz
emacs-8c5be1a7a6403f3bb8ff1a09a09fb63c2ec0097d.zip
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.
-rw-r--r--test/lisp/progmodes/eglot-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el
index ffc097fee74..ee99e421fe3 100644
--- a/test/lisp/progmodes/eglot-tests.el
+++ b/test/lisp/progmodes/eglot-tests.el
@@ -85,7 +85,8 @@ directory hierarchy."
85 85
86(defun eglot--call-with-fixture (fixture fn) 86(defun eglot--call-with-fixture (fixture fn)
87 "Helper for `eglot--with-fixture'. Run FN under FIXTURE." 87 "Helper for `eglot--with-fixture'. Run FN under FIXTURE."
88 (let* ((fixture-directory (make-nearby-temp-file "eglot--fixture-" t)) 88 (let* ((temporary-file-directory (file-truename temporary-file-directory))
89 (fixture-directory (make-nearby-temp-file "eglot--fixture-" t))
89 (default-directory (file-name-as-directory fixture-directory)) 90 (default-directory (file-name-as-directory fixture-directory))
90 created-files 91 created-files
91 new-servers 92 new-servers