aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/net/tramp-tests.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 0136e0abd5b..a2460686e96 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -2325,6 +2325,17 @@ is greater than 10.
2325 (should (string-equal (expand-file-name local dir) dir)) 2325 (should (string-equal (expand-file-name local dir) dir))
2326 (should (string-equal (expand-file-name (concat dir local)) dir))))) 2326 (should (string-equal (expand-file-name (concat dir local)) dir)))))
2327 2327
2328;; The following test is inspired by Bug#65685.
2329(ert-deftest tramp-test05-expand-file-name-tilde ()
2330 "Check `expand-file-name'."
2331 (skip-unless (tramp--test-enabled))
2332 (skip-unless (not (tramp--test-ange-ftp-p)))
2333
2334 (let ((dir (file-remote-p ert-remote-temporary-file-directory))
2335 (tramp-tolerate-tilde t))
2336 (should (string-equal (expand-file-name (concat dir "~"))
2337 (expand-file-name (concat dir "/:~"))))))
2338
2328(ert-deftest tramp-test06-directory-file-name () 2339(ert-deftest tramp-test06-directory-file-name ()
2329 "Check `directory-file-name'. 2340 "Check `directory-file-name'.
2330This checks also `file-name-as-directory', `file-name-directory', 2341This checks also `file-name-as-directory', `file-name-directory',