]> git.eshelyaron.com Git - emacs.git/commitdiff
Use utf-8-hfs-unix on macOS (Bug#29712)
authorAlan Third <alan@idiocy.org>
Sat, 16 Dec 2017 17:13:34 +0000 (17:13 +0000)
committerAlan Third <alan@idiocy.org>
Sat, 16 Dec 2017 18:24:40 +0000 (18:24 +0000)
This is a quick fix for the Emacs 26 release. Do not merge to master.

* test/src/fileio-tests.el (fileio-tests--symlink-failure): Override
file-name-coding-system to utf-8-hfs-unix to prevent test failure.

test/src/fileio-tests.el

index 01c280d2752cb8b324e1efd27414262c704574ed..6962b68456549a76ec0180a497acaf7713f205d6 100644 (file)
@@ -29,7 +29,8 @@
 
 (defun fileio-tests--symlink-failure ()
   (let* ((dir (make-temp-file "fileio" t))
-         (link (expand-file-name "link" dir)))
+         (link (expand-file-name "link" dir))
+         (file-name-coding-system 'utf-8-hfs-unix))
     (unwind-protect
         (let (failure
               (char 0))