diff options
| author | Michael Albinus | 2013-11-15 14:49:17 +0100 |
|---|---|---|
| committer | Michael Albinus | 2013-11-15 14:49:17 +0100 |
| commit | 82407168e69efbf9c9f6745ef3356cf6f6314cb3 (patch) | |
| tree | db961518c3bbe96857168040171d744105c3afe9 | |
| parent | a3fed6ffab8a4fff50bd162728be0f1d79d14663 (diff) | |
| download | emacs-82407168e69efbf9c9f6745ef3356cf6f6314cb3.tar.gz emacs-82407168e69efbf9c9f6745ef3356cf6f6314cb3.zip | |
* automated/tramp-tests.el (tramp-test29-utf8): Cleanup the
connection before running the test. Reenable last test case.
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/tramp-tests.el | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index c1e75879200..13e937413af 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2013-11-15 Michael Albinus <michael.albinus@gmx.de> | 1 | 2013-11-15 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 2 | ||
| 3 | * automated/tramp-tests.el (tramp-test29-utf8): Cleanup the | ||
| 4 | connection before running the test. | ||
| 5 | |||
| 6 | 2013-11-15 Michael Albinus <michael.albinus@gmx.de> | ||
| 7 | |||
| 3 | * automated/tramp-tests.el (tramp-test15-copy-directory) | 8 | * automated/tramp-tests.el (tramp-test15-copy-directory) |
| 4 | (tramp-test16-directory-files, tramp-test17-insert-directory) | 9 | (tramp-test16-directory-files, tramp-test17-insert-directory) |
| 5 | (tramp-test18-file-attributes) | 10 | (tramp-test18-file-attributes) |
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el index b764511e5dc..4f597f236ff 100644 --- a/test/automated/tramp-tests.el +++ b/test/automated/tramp-tests.el | |||
| @@ -1067,8 +1067,12 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 1067 | (ert-deftest tramp-test29-utf8 () | 1067 | (ert-deftest tramp-test29-utf8 () |
| 1068 | "Check UTF8 encoding in file names and file contents." | 1068 | "Check UTF8 encoding in file names and file contents." |
| 1069 | (skip-unless (tramp--test-enabled)) | 1069 | (skip-unless (tramp--test-enabled)) |
| 1070 | ;; TODO: It shall be possible to call it in every test. | ||
| 1071 | (tramp-cleanup-connection | ||
| 1072 | (tramp-dissect-file-name tramp-test-temporary-file-directory) | ||
| 1073 | nil 'keep-password) | ||
| 1070 | (let ((tmp-name (tramp--test-make-temp-name)) | 1074 | (let ((tmp-name (tramp--test-make-temp-name)) |
| 1071 | (arabic "أصبح بوسعك الآن تنزيل نسخة كاملة من موسوعة ويكيبيديا العربية لتصفحها بلا اتصال بالإنترنت.") | 1075 | (arabic "أصبح بوسعك الآن تنزيل نسخة كاملة من موسوعة ويكيبيديا العربية لتصفحها بلا اتصال بالإنترنت") |
| 1072 | (chinese "银河系漫游指南系列") | 1076 | (chinese "银河系漫游指南系列") |
| 1073 | (russian "Автостопом по гала́ктике")) | 1077 | (russian "Автостопом по гала́ктике")) |
| 1074 | (unwind-protect | 1078 | (unwind-protect |
| @@ -1083,9 +1087,9 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 1083 | (insert-file-contents file) | 1087 | (insert-file-contents file) |
| 1084 | (should (string-equal (buffer-string) lang))))) | 1088 | (should (string-equal (buffer-string) lang))))) |
| 1085 | ;; Check file name. | 1089 | ;; Check file name. |
| 1086 | ; (should (equal (directory-files | 1090 | (should (equal (directory-files |
| 1087 | ; tmp-name nil directory-files-no-dot-files-regexp) | 1091 | tmp-name nil directory-files-no-dot-files-regexp) |
| 1088 | ); (sort `(,arabic ,chinese ,russian) 'string-lessp)))) | 1092 | (sort `(,arabic ,chinese ,russian) 'string-lessp)))) |
| 1089 | (ignore-errors (delete-directory tmp-name 'recursive))))) | 1093 | (ignore-errors (delete-directory tmp-name 'recursive))))) |
| 1090 | 1094 | ||
| 1091 | ;; TODO: | 1095 | ;; TODO: |