diff options
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/fileio-tests.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/src/fileio-tests.el b/test/src/fileio-tests.el index 6962b684565..5ed67919a5a 100644 --- a/test/src/fileio-tests.el +++ b/test/src/fileio-tests.el | |||
| @@ -30,7 +30,10 @@ | |||
| 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 | (file-name-coding-system (if (and (eq system-type 'darwin) |
| 34 | (featurep 'ucs-normalize)) | ||
| 35 | 'utf-8-hfs-unix | ||
| 36 | file-name-coding-system))) | ||
| 34 | (unwind-protect | 37 | (unwind-protect |
| 35 | (let (failure | 38 | (let (failure |
| 36 | (char 0)) | 39 | (char 0)) |