1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/test/lisp/net
Michael Albinus b1882857ee Rework remote process support for Tramp's "smb" method
* doc/misc/tramp.texi (Remote processes): Rewrite subsection
"Running remote processes on MS Windows hosts".

* etc/NEWS: Mention remote process support for Tramp's "smb" method.
Presentational fixes and improvements.

* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
Use `tramp-smb-handle-make-process', `tramp-smb-handle-shell-command'
and `tramp-handle-start-file-process'.
(tramp-smb-matching-line): New defvar.
(tramp-smb-handle-make-process, tramp-smb-handle-shell-command)
(tramp-smb-shell-prompt): New defuns.
(tramp-smb-handle-process-file): Rewrite.
(tramp-smb-handle-start-file-process): Remove.
(tramp-smb-get-localname, tramp-smb-shell-quote-localname):
New optional argument SHARE.
(tramp-smb-send-command): Remove echoed command string.
(tramp-smb-maybe-open-connection): Initialize variables.
(tramp-smb-wait-for-output): Wait more robust.
(tramp-smb-call-winexe): Check for share.  Goto current directory.
(tramp-smb-connection-local-powershell-variables): New defconst.
Set it as connection local variables.

* test/lisp/net/tramp-tests.el (tramp-test28-process-file)
(tramp-test29-start-file-process, tramp-test30-make-process)
(tramp-test32-shell-command, tramp--test-async-shell-command)
(tramp--test-supports-processes-p): Adapt for "smb" method.
(tramp-test34-explicit-shell-file-name)
(tramp-test45-asynchronous-requests): Skip for "smb" method.
(tramp--test-check-files): Skip shell test for some special
characters in the "smb" case.
(tramp-test52-unload): Disable further tests.
2025-12-06 13:26:52 +01:00
..
dbus-resources Don't call dbus-launch in dbus-tests.el 2025-10-06 18:10:06 +02:00
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 Fix formatting of tables with thead/tfoot but no tbody 2024-07-06 21:10:39 +02:00
tramp-archive-resources Tramp cleanup 2025-10-20 14:42:12 +02:00
tramp-resources Revert "* test/lisp/net/tramp-resources/foo.tar.gz: Remove." 2025-10-20 14:58:38 +02:00
browse-url-tests.el Fix browse-url-tests-delete-temp-file 2025-07-10 18:44:52 +02:00
dbus-tests.el Don't call dbus-launch in dbus-tests.el 2025-10-06 18:10:06 +02:00
dig-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eudc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eww-tests.el Disable track-changes while reloading pages in EWW 2025-07-20 13:13:41 -07:00
gnutls-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
hmac-md5-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mailcap-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
network-stream-tests.el Use macro to reduce repetition in TLS tests 2025-07-24 18:04:29 +02:00
newsticker-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
nsm-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ntlm-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
puny-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rcirc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rfc2104-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sasl-cram-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sasl-scram-rfc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sasl-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
secrets-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
shr-tests.el ; * test/lisp/net/shr-tests.el (shr-test/zoom-image): Fix <img> (bug#79041). 2025-07-17 19:34:50 +03:00
socks-tests.el Prefer decf to cl-decf 2025-02-23 00:38:22 +01:00
tramp-archive-tests.el Tramp cleanup 2025-10-20 14:42:12 +02:00
tramp-tests.el Rework remote process support for Tramp's "smb" method 2025-12-06 13:26:52 +01:00
webjump-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00