diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2016-01-10 13:07:21 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2016-01-10 13:07:21 +0100 |
commit | 1089dc98b778d1c6eb190dbd840d40c33aea9bea (patch) | |
tree | ce78823183fe512907107c14558697cb38d65c81 /test | |
parent | 684eb58db992dec56a05719732edc547fa77c1be (diff) | |
download | emacs-1089dc98b778d1c6eb190dbd840d40c33aea9bea.tar.gz |
Handle too long commands in Tramp
* lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
(tramp-do-file-attributes-with-ls): Send sequence of commands, in
order to not exceed shell command line limit.
* test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
(tramp--test-utf8): Include Arabic file name, again.
Diffstat (limited to 'test')
-rw-r--r-- | test/automated/tramp-tests.el | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el index c956f9cd008..915b30f5e08 100644 --- a/test/automated/tramp-tests.el +++ b/test/automated/tramp-tests.el @@ -1785,14 +1785,6 @@ Several special characters do not work properly there." (file-truename tramp-test-temporary-file-directory) nil (string-match "^HP-UX" (tramp-get-connection-property v "uname" "")))) -(defun tramp--test-darwin-p () - "Check, whether the remote host runs Mac OS X. -Several special characters do not work properly there." - ;; We must refill the cache. `file-truename' does it. - (with-parsed-tramp-file-name - (file-truename tramp-test-temporary-file-directory) nil - (string-match "^Darwin" (tramp-get-connection-property v "uname" "")))) - (defun tramp--test-check-files (&rest files) "Run a simple but comprehensive test over every file in FILES." ;; We must use `file-truename' for the temporary directory, because @@ -2046,7 +2038,7 @@ Use the `ls' command." (file-name-coding-system 'utf-8)) (tramp--test-check-files (unless (tramp--test-hpux-p) "Γυρίστε το Γαλαξία με Ώτο Στοπ") - (unless (or (tramp--test-hpux-p) (tramp--test-darwin-p)) + (unless (tramp--test-hpux-p) "أصبح بوسعك الآن تنزيل نسخة كاملة من موسوعة ويكيبيديا العربية لتصفحها بلا اتصال بالإنترنت") "银河系漫游指南系列" "Автостопом по гала́ктике"))) |