1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00
emacs/test/lisp/net
Michael Albinus 4e9993cada Add Tramp methods dockercp and podmancp
* doc/misc/tramp.texi (External methods):  Add dockercp and podmancp.

* etc/NEWS: Add Tramp methods "dockercp" and "podmancp".

* lisp/net/tramp.el (tramp-handle-make-process):
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file)
(tramp-sshfs-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command): Adapt
`tramp-expand-args' calls.

* lisp/net/tramp-container.el (tramp-dockercp-method)
(tramp-podmancp-method): New defconst.
(tramp-methods) <dockercp, podmancp>: Add new methods.
(tramp-container--completion-function): Adapt docstring.  Use it
for "dockercp" and "podmancp" completion.

* lisp/net/tramp.el (tramp-get-remote-tmpdir):
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use a default
value with `tramp-get-method-parameter'.

* lisp/net/tramp-sh.el (tramp-methods) <nc>: Add `tramp-copy-file-name'.
(tramp-default-copy-file-name): New defconst.
(tramp-make-copy-file-name): Rename from
`tramp-make-copy-program-file-name'.  Use method parameter
`tramp-copy-file-name'.  (Bug#69085)
(tramp-do-copy-or-rename-file-out-of-band): Adapt callees.

* lisp/net/tramp.el (tramp-methods): Adapt docstring.
(tramp-get-method-parameter, tramp-expand-args): New optional
argument DEFAULT.

* test/lisp/net/tramp-tests.el (tramp--test-container-p): Adapt.
(tramp--test-container-oob-p): New defun.
(tramp-test17-dired-with-wildcards, tramp-test35-remote-path)
(tramp-test41-special-characters): Use it.
(tramp--test-set-ert-test-documentation): Use `split-string'.
2024-02-20 12:52:40 +01:00
..
dbus-resources
eudc-resources EUDC: Improve LDAP and BBDB tests 2022-11-24 02:21:38 -05:00
mailcap-resources
network-stream-resources
ntlm-resources
puny-resources ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
shr-resources
tramp-archive-resources
tramp-resources
browse-url-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
dbus-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
dig-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gnutls-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
hmac-md5-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
mailcap-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
network-stream-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
newsticker-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
nsm-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ntlm-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
puny-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rcirc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rfc2104-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl-cram-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl-scram-rfc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
secrets-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
shr-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
socks-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
tramp-archive-tests.el Use defvar for variables that are not constant 2024-02-07 11:13:56 -05:00
tramp-tests.el Add Tramp methods dockercp and podmancp 2024-02-20 12:52:40 +01:00
webjump-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00