summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lisp/files-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el
index 8f6495a293c..78d469580ba 100644
--- a/test/lisp/files-tests.el
+++ b/test/lisp/files-tests.el
@@ -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)