diff options
| author | Michael Albinus | 2014-02-28 09:47:43 +0100 |
|---|---|---|
| committer | Michael Albinus | 2014-02-28 09:47:43 +0100 |
| commit | 5b5774e5d5f845de8493ade93f5eed66934d779c (patch) | |
| tree | 9ee5eab1b647f69f797c874e2095aa87928c6316 | |
| parent | 245aa73efeb4c2ef67c531033d67402c8204dda4 (diff) | |
| download | emacs-5b5774e5d5f845de8493ade93f5eed66934d779c.tar.gz emacs-5b5774e5d5f845de8493ade93f5eed66934d779c.zip | |
* automated/tramp-tests.el (tramp--test-enabled)
(tramp-test15-copy-directory): No special handling of tramp-adb.el
anymore. It's fixed in that package.
| -rw-r--r-- | test/ChangeLog | 6 | ||||
| -rw-r--r-- | test/automated/tramp-tests.el | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 0910f0b15b8..9082f2ace2a 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-02-28 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * automated/tramp-tests.el (tramp--test-enabled) | ||
| 4 | (tramp-test15-copy-directory): No special handling of tramp-adb.el | ||
| 5 | anymore. It's fixed in that package. | ||
| 6 | |||
| 1 | 2014-02-27 Michael Albinus <michael.albinus@gmx.de> | 7 | 2014-02-27 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * automated/tramp-tests.el (tramp--test-enabled): Move connection | 9 | * automated/tramp-tests.el (tramp--test-enabled): Move connection |
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el index 706e2e0e25e..25cd0c6a96d 100644 --- a/test/automated/tramp-tests.el +++ b/test/automated/tramp-tests.el | |||
| @@ -82,10 +82,7 @@ being the result.") | |||
| 82 | (file-directory-p tramp-test-temporary-file-directory) | 82 | (file-directory-p tramp-test-temporary-file-directory) |
| 83 | (file-writable-p tramp-test-temporary-file-directory)))))) | 83 | (file-writable-p tramp-test-temporary-file-directory)))))) |
| 84 | 84 | ||
| 85 | (when (and (cdr tramp--test-enabled-checked) | 85 | (when (cdr tramp--test-enabled-checked) |
| 86 | (not (eq (tramp-find-foreign-file-name-handler | ||
| 87 | tramp-test-temporary-file-directory) | ||
| 88 | 'tramp-adb-file-name-handler))) | ||
| 89 | ;; Cleanup connection. We don't cleanup for adb, because it | 86 | ;; Cleanup connection. We don't cleanup for adb, because it |
| 90 | ;; doesn't behave well when is disconnect several times. | 87 | ;; doesn't behave well when is disconnect several times. |
| 91 | (tramp-cleanup-connection | 88 | (tramp-cleanup-connection |
| @@ -751,14 +748,11 @@ This tests also `file-directory-p' and `file-accessible-directory-p'." | |||
| 751 | (write-region "foo" nil tmp-name4) | 748 | (write-region "foo" nil tmp-name4) |
| 752 | (should (file-directory-p tmp-name1)) | 749 | (should (file-directory-p tmp-name1)) |
| 753 | (should (file-exists-p tmp-name4)) | 750 | (should (file-exists-p tmp-name4)) |
| 754 | ;; We do not care, whether file permissions and time stamps | 751 | (copy-directory tmp-name1 tmp-name2) |
| 755 | ;; are correct. Sometimes, it is not possible to manage | ||
| 756 | ;; them, for example in tramp-adb.el. | ||
| 757 | (ignore-errors (copy-directory tmp-name1 tmp-name2)) | ||
| 758 | (should (file-directory-p tmp-name2)) | 752 | (should (file-directory-p tmp-name2)) |
| 759 | (should (file-exists-p tmp-name5)) | 753 | (should (file-exists-p tmp-name5)) |
| 760 | ;; Target directory does exist already. | 754 | ;; Target directory does exist already. |
| 761 | (ignore-errors (copy-directory tmp-name1 tmp-name2)) | 755 | (copy-directory tmp-name1 tmp-name2) |
| 762 | (should (file-directory-p tmp-name3)) | 756 | (should (file-directory-p tmp-name3)) |
| 763 | (should (file-exists-p tmp-name6))) | 757 | (should (file-exists-p tmp-name6))) |
| 764 | (ignore-errors | 758 | (ignore-errors |