1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
emacs/test/lisp/net
Michael Albinus 67d3b40e0c Expand host names in Tramp's ad-hoc multi-hop file names
* doc/misc/tramp.texi (Quick Start Guide): Improve wording.
(Change file name syntax): Say, that `tramp-file-name-regexp' is
not constant.
(Ad-hoc multi-hops): Explain host name expansion.

* etc/NEWS: Mention that host names in Tramp ad-hoc multi-hop file
names must match the previous hop for methods like "su" or "sudo".
Fix typos.

* lisp/net/tramp.el (tramp-find-method, tramp-find-user):
Adapt docstring.
(tramp-find-host): Mark default value.
(tramp-dissect-file-name): Expand host name for hops.
(tramp-dissect-hop-name, tramp-make-tramp-hop-name): New defuns.
(tramp-clear-passwd): Simplify.

* test/lisp/net/tramp-tests.el (tramp-test02-file-name-dissect)
(tramp-test02-file-name-dissect-simplified)
(tramp-test02-file-name-dissect-separate)
(tramp-test26-file-name-completion): Extend tests.
2018-10-20 13:38:31 +02:00
..
tramp-archive-resources Fix Bug#30293 2018-01-31 15:02:46 +01:00
dbus-tests.el Remove test code from last commit 2018-07-08 13:08:05 +02:00
gnutls-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
mailcap-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
network-stream-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
newsticker-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
puny-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sasl-scram-rfc-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
secrets-tests.el Fix Bug#32147 2018-07-15 09:47:08 +02:00
shr-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
tramp-archive-tests.el Tag expensive tests in tramp-archive.el (Bug#30807) 2018-08-08 14:59:56 +02:00
tramp-tests.el Expand host names in Tramp's ad-hoc multi-hop file names 2018-10-20 13:38:31 +02:00