summaryrefslogtreecommitdiff
path: root/test/lisp/net/tramp-tests.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-08-19 17:15:52 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-08-19 17:17:09 -0700
commit83f0d60e498c9cab59e098af6d9c403631ad645c (patch)
tree38c3968b19d8eb83dc8c0b7c446330bd43383a42 /test/lisp/net/tramp-tests.el
parent1c382c096b8b7d1fa995e6131b887d9128085c68 (diff)
downloademacs-83f0d60e498c9cab59e098af6d9c403631ad645c.tar.gz
emacs-83f0d60e498c9cab59e098af6d9c403631ad645c.tar.bz2
emacs-83f0d60e498c9cab59e098af6d9c403631ad645c.zip
Don’t adjust CRLF in file names
* doc/misc/gnus.texi (Non-ASCII Group Names): * etc/NEWS: * test/lisp/net/tramp-tests.el (tramp--test-utf8): Use utf-8-unix, not utf-8, for default-file-name-coding-system, so that CRLF in file names is left alone. * lisp/international/mule-cmds.el (set-default-coding-systems): Do not alter CRLF in file name coding systems. (prefer-coding-system): Ignore differences in CRLF processing when checking whether we used the user-specified file name coding system. * test/src/fileio-tests.el: New file.
Diffstat (limited to 'test/lisp/net/tramp-tests.el')
-rw-r--r--test/lisp/net/tramp-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 9d2598ac03e..9dc276b2a93 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -3719,7 +3719,8 @@ Use the `ls' command."
'utf-8-hfs 'utf-8))
(coding-system-for-read utf8)
(coding-system-for-write utf8)
- (file-name-coding-system utf8))
+ (file-name-coding-system
+ (coding-system-change-eol-conversion utf8 'unix)))
(tramp--test-check-files
(unless (tramp--test-hpux-p) "Γυρίστε το Γαλαξία με Ώτο Στοπ")
(unless (tramp--test-hpux-p)