diff options
| author | Michael Albinus | 2016-04-03 10:14:56 +0200 |
|---|---|---|
| committer | Michael Albinus | 2016-04-03 10:14:56 +0200 |
| commit | 7032e03d60a0e3a6e1466d8c55baa00c4bfc5fea (patch) | |
| tree | 38c54200b98efa091972e3553abc794711bc984c /test | |
| parent | d6e164af0211eb18fad654d777549a019776e9ba (diff) | |
| download | emacs-7032e03d60a0e3a6e1466d8c55baa00c4bfc5fea.tar.gz emacs-7032e03d60a0e3a6e1466d8c55baa00c4bfc5fea.zip | |
Fix Bug#22145
* lisp/net/tramp-cache.el (tramp-get-connection-property)
(tramp-set-connection-property, tramp-connection-property-p)
(tramp-flush-connection-property): Improve docstring.
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it.
* lisp/net/tramp.el (tramp-get-local-locale): New defun.
* test/automated/tramp-tests.el (tramp--test-utf8):
Improve settings of coding systems. (Bug#22145)
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index a29e42e7343..a12ee387576 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -2033,9 +2033,12 @@ Use the `ls' command." | |||
| 2033 | 2033 | ||
| 2034 | (defun tramp--test-utf8 () | 2034 | (defun tramp--test-utf8 () |
| 2035 | "Perform the test in `tramp-test32-utf8*'." | 2035 | "Perform the test in `tramp-test32-utf8*'." |
| 2036 | (let ((coding-system-for-read 'utf-8) | 2036 | (let* ((utf8 (if (and (eq system-type 'darwin) |
| 2037 | (coding-system-for-write 'utf-8) | 2037 | (memq 'utf-8-hfs (coding-system-list))) |
| 2038 | (file-name-coding-system 'utf-8)) | 2038 | 'utf-8-hfs 'utf-8)) |
| 2039 | (coding-system-for-read utf8) | ||
| 2040 | (coding-system-for-write utf8) | ||
| 2041 | (file-name-coding-system utf8)) | ||
| 2039 | (tramp--test-check-files | 2042 | (tramp--test-check-files |
| 2040 | (unless (tramp--test-hpux-p) "Γυρίστε το Γαλαξία με Ώτο Στοπ") | 2043 | (unless (tramp--test-hpux-p) "Γυρίστε το Γαλαξία με Ώτο Στοπ") |
| 2041 | (unless (tramp--test-hpux-p) | 2044 | (unless (tramp--test-hpux-p) |