From 8c5be1a7a6403f3bb8ff1a09a09fb63c2ec0097d Mon Sep 17 00:00:00 2001 From: Mattias EngdegÄrd Date: Tue, 24 Feb 2026 21:42:44 +0100 Subject: 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. --- test/lisp/progmodes/eglot-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1