diff options
author | Alan Third <alan@idiocy.org> | 2017-12-16 17:13:34 +0000 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2017-12-16 18:24:40 +0000 |
commit | 080f227331ed328bbe57e8481042e6609beb8964 (patch) | |
tree | 18b7197e903f3957665aadc025f796cd1142d796 /test | |
parent | 28e0261890e6335cb49cc03c47c206ce9c022448 (diff) | |
download | emacs-080f227331ed328bbe57e8481042e6609beb8964.tar.gz |
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')
-rw-r--r-- | test/src/fileio-tests.el | 3 |
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 @@ (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)) |