[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 dca240a 1/2: Suppress some Tramp tests for OSX, d
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] emacs-25 dca240a 1/2: Suppress some Tramp tests for OSX, do not merge with master |
Date: |
Thu, 17 Mar 2016 19:35:02 +0000 |
branch: emacs-25
commit dca240a70dcb1456a079a4738ac8e04c6698fc78
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
Suppress some Tramp tests for OSX, do not merge with master
* test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
(tramp--test-utf8): Use it. (Bug#22145)
---
test/automated/tramp-tests.el | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el
index a29e42e..d9563ec 100644
--- a/test/automated/tramp-tests.el
+++ b/test/automated/tramp-tests.el
@@ -1785,6 +1785,14 @@ 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
@@ -2038,9 +2046,10 @@ Use the `ls' command."
(file-name-coding-system 'utf-8))
(tramp--test-check-files
(unless (tramp--test-hpux-p) "Γυρίστε το Γαλαξία με Ώτο Στοπ")
- (unless (tramp--test-hpux-p)
+ (unless (or (tramp--test-hpux-p) (tramp--test-darwin-p))
"أصبح بوسعك الآن تنزيل نسخة كاملة من موسوعة ويكيبيديا العربية لتصفحها
بلا اتصال بالإنترنت")
- "银河系漫游指南系列"
+ (unless (tramp--test-darwin-p)
+ "银河系漫游指南系列")
"Автостопом по гала́ктике")))
(ert-deftest tramp-test32-utf8 ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 dca240a 1/2: Suppress some Tramp tests for OSX, do not merge with master,
Michael Albinus <=