From 080f227331ed328bbe57e8481042e6609beb8964 Mon Sep 17 00:00:00 2001 From: Alan Third Date: Sat, 16 Dec 2017 17:13:34 +0000 Subject: [PATCH] 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. --- test/src/fileio-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.2