]> git.eshelyaron.com Git - emacs.git/commitdiff
* automated/tramp-tests.el (tramp--test-enabled)
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 28 Feb 2014 08:47:43 +0000 (09:47 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 28 Feb 2014 08:47:43 +0000 (09:47 +0100)
(tramp-test15-copy-directory): No special handling of tramp-adb.el
anymore.  It's fixed in that package.

test/ChangeLog
test/automated/tramp-tests.el

index 0910f0b15b8bcdc2f77af69a307c5a3b0315863b..9082f2ace2a0c1243778c78052adafdd42a235e2 100644 (file)
@@ -1,3 +1,9 @@
+2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
+
+       * 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.
+
 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
 
        * automated/tramp-tests.el (tramp--test-enabled): Move connection
index 706e2e0e25ea6b40fc348d22c9311cc0a22ca2a9..25cd0c6a96d56aaa93f858e3ba49037306570967 100644 (file)
@@ -82,10 +82,7 @@ being the result.")
           (file-directory-p tramp-test-temporary-file-directory)
           (file-writable-p tramp-test-temporary-file-directory))))))
 
-  (when (and (cdr tramp--test-enabled-checked)
-            (not (eq (tramp-find-foreign-file-name-handler
-                      tramp-test-temporary-file-directory)
-                     'tramp-adb-file-name-handler)))
+  (when (cdr tramp--test-enabled-checked)
     ;; Cleanup connection.  We don't cleanup for adb, because it
     ;; doesn't behave well when is disconnect several times.
     (tramp-cleanup-connection
@@ -751,14 +748,11 @@ This tests also `file-directory-p' and `file-accessible-directory-p'."
          (write-region "foo" nil tmp-name4)
          (should (file-directory-p tmp-name1))
          (should (file-exists-p tmp-name4))
-         ;; We do not care, whether file permissions and time stamps
-         ;; are correct.  Sometimes, it is not possible to manage
-         ;; them, for example in tramp-adb.el.
-         (ignore-errors (copy-directory tmp-name1 tmp-name2))
+         (copy-directory tmp-name1 tmp-name2)
          (should (file-directory-p tmp-name2))
          (should (file-exists-p tmp-name5))
          ;; Target directory does exist already.
-         (ignore-errors (copy-directory tmp-name1 tmp-name2))
+         (copy-directory tmp-name1 tmp-name2)
          (should (file-directory-p tmp-name3))
          (should (file-exists-p tmp-name6)))
       (ignore-errors