]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix test in files-tests
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 15 Oct 2023 10:26:43 +0000 (12:26 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 15 Oct 2023 10:26:43 +0000 (12:26 +0200)
* test/lisp/files-tests.el
(files-tests-file-name-non-special-expand-file-name-tilde): Fix test.

test/lisp/files-tests.el

index 8f6495a293c629ef01eee55ff249949861caec81..78d469580bab80d28f5830b4640a4899060462cd 100644 (file)
@@ -664,7 +664,8 @@ unquoted file names."
 
 (ert-deftest files-tests-file-name-non-special-expand-file-name-tilde ()
   (let ((process-environment
-         (cons (format "HOME=%s" temporary-file-directory) process-environment))
+         (cons (format "HOME=%s" (file-truename temporary-file-directory))
+               process-environment))
         abbreviated-home-dir)
     (files-tests--with-temp-non-special (tmpfile nospecial)
       (let (file-name-handler-alist)