diff options
| author | Mattias EngdegÄrd <mattias.engdegard@gmail.com> | 2026-02-24 21:42:44 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd <mattias.engdegard@gmail.com> | 2026-02-24 21:42:44 +0100 |
| commit | 8c5be1a7a6403f3bb8ff1a09a09fb63c2ec0097d (patch) | |
| tree | 32bdbf5be5171f771189e1a963b5bfb76813732d | |
| parent | a84530ac2ed7b5c045176979002e635c9bdd462b (diff) | |
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.el | 3 |
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." (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 |
