aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
diff options
context:
space:
mode:
authorMichael Albinus2023-10-13 16:18:06 +0200
committerMichael Albinus2023-10-13 16:18:06 +0200
commitbbccef3ceb63bc17ab9d2aee5326df5d70ce4ab3 (patch)
tree12a21781a8aad9864e6b9e078159f38d4f6111f7 /test/lisp
parentd40f9668f9cf1dedaef3ce435498f89fe2c36385 (diff)
parentc8ea14e7825d536f41a230fc1298341a2462635e (diff)
downloademacs-bbccef3ceb63bc17ab9d2aee5326df5d70ce4ab3.tar.gz
emacs-bbccef3ceb63bc17ab9d2aee5326df5d70ce4ab3.zip
Merge from origin/emacs-29
c8ea14e7825 Handle quoted tilde in Tramp 30239759ee4 ; Set maintainer for elint.el to emacs-devel eedd9db6190 Update to Org 9.6.10 # Conflicts: # lisp/net/tramp-gvfs.el
Diffstat (limited to 'test/lisp')
-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',