aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael Albinus2015-08-30 09:59:02 +0200
committerMichael Albinus2015-08-30 09:59:02 +0200
commitcc90c25a50e536669ac327f7e05ec9194d1650d0 (patch)
treed190dc1e2f7730af9ba442bb21743061bc4c1777 /test
parent001c7dd928238a196dff4166ad29141116ef6d1c (diff)
downloademacs-cc90c25a50e536669ac327f7e05ec9194d1650d0.tar.gz
emacs-cc90c25a50e536669ac327f7e05ec9194d1650d0.zip
* lisp/net/tramp-sh.el (tramp-convert-file-attributes):
Revert patch from 2015-08-24. Tramp shall be have like for local files. * test/automated/tramp-tests.el (tramp-test18-file-attributes): Adapt test.
Diffstat (limited to 'test')
-rw-r--r--test/automated/tramp-tests.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el
index 498a0cfa7da..c5cab7d5991 100644
--- a/test/automated/tramp-tests.el
+++ b/test/automated/tramp-tests.el
@@ -1118,9 +1118,10 @@ This tests also `file-readable-p' and `file-regular-p'."
1118 t))) 1118 t)))
1119 (when (file-symlink-p tmp-name2) 1119 (when (file-symlink-p tmp-name2)
1120 (setq attr (file-attributes tmp-name2)) 1120 (setq attr (file-attributes tmp-name2))
1121 (should (string-equal 1121 (should
1122 (car attr) 1122 (string-equal
1123 (file-remote-p (file-truename tmp-name3) 'localname))) 1123 (car attr)
1124 (tramp-file-name-localname (tramp-dissect-file-name tmp-name3))))
1124 (delete-file tmp-name2)) 1125 (delete-file tmp-name2))
1125 1126
1126 (delete-file tmp-name1) 1127 (delete-file tmp-name1)