aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael Albinus2022-06-16 19:29:55 +0200
committerMichael Albinus2022-06-16 19:29:55 +0200
commitcd9b920217e039e9999d9019c60cf7b0db6c2bca (patch)
tree7739e2eca5712118448cb70b1670b6ff25e21b54 /test
parentd934363ca153f7e479f49a88b2d3fcfef6746337 (diff)
downloademacs-cd9b920217e039e9999d9019c60cf7b0db6c2bca.tar.gz
emacs-cd9b920217e039e9999d9019c60cf7b0db6c2bca.zip
Fix Tramp test
* test/lisp/net/tramp-tests.el (tramp-test03-file-name-method-rules): Remove superfluous checks.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/net/tramp-tests.el12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 87c8eb0ada3..63fd96cae80 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -2016,17 +2016,7 @@ Also see `ignore'."
2016 :type 'user-error) 2016 :type 'user-error)
2017 (should-error 2017 (should-error
2018 (expand-file-name "/method:user1@host1|ssh:user2@host2:/path/to/file") 2018 (expand-file-name "/method:user1@host1|ssh:user2@host2:/path/to/file")
2019 :type 'user-error)) 2019 :type 'user-error)))
2020
2021 ;; Samba does not support file names with periods followed by
2022 ;; spaces, and trailing periods or spaces.
2023 (when (tramp--test-smb-p)
2024 (dolist (file '("foo." "foo. bar" "foo "))
2025 (should-error
2026 (tramp-smb-get-localname
2027 (tramp-dissect-file-name
2028 (expand-file-name file ert-remote-temporary-file-directory)))
2029 :type 'file-error))))
2030 2020
2031(ert-deftest tramp-test04-substitute-in-file-name () 2021(ert-deftest tramp-test04-substitute-in-file-name ()
2032 "Check `substitute-in-file-name'." 2022 "Check `substitute-in-file-name'."