aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorAlan Third2017-12-16 17:13:34 +0000
committerAlan Third2017-12-16 18:24:40 +0000
commit080f227331ed328bbe57e8481042e6609beb8964 (patch)
tree18b7197e903f3957665aadc025f796cd1142d796 /test/src
parent28e0261890e6335cb49cc03c47c206ce9c022448 (diff)
downloademacs-080f227331ed328bbe57e8481042e6609beb8964.tar.gz
emacs-080f227331ed328bbe57e8481042e6609beb8964.zip
Use utf-8-hfs-unix on macOS (Bug#29712)
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.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/fileio-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/fileio-tests.el b/test/src/fileio-tests.el
index 01c280d2752..6962b684565 100644
--- a/test/src/fileio-tests.el
+++ b/test/src/fileio-tests.el
@@ -29,7 +29,8 @@
29 29
30(defun fileio-tests--symlink-failure () 30(defun fileio-tests--symlink-failure ()
31 (let* ((dir (make-temp-file "fileio" t)) 31 (let* ((dir (make-temp-file "fileio" t))
32 (link (expand-file-name "link" dir))) 32 (link (expand-file-name "link" dir))
33 (file-name-coding-system 'utf-8-hfs-unix))
33 (unwind-protect 34 (unwind-protect
34 (let (failure 35 (let (failure
35 (char 0)) 36 (char 0))