emacs/test/lisp/net
Michael Albinus e0e0e95f5b Tramp signals 'remote-file-error' consequently
* doc/misc/tramp.texi (External packages): Mention also special events.
Emphasise, that Tramp raises remote-file-error.

* etc/NEWS: Tramp signals 'remote-file-error' consequently.
Presentational fixes and improvements.

* lisp/net/tramp.el (tramp-skeleton-process-file)
(tramp-handle-make-symbolic-link, tramp-process-actions)
(tramp-wait-for-regexp, tramp-send-string):
* lisp/net/tramp-adb.el (tramp-adb-get-device)
(tramp-adb-send-command-and-check, tramp-adb-barf-unless-okay)
(tramp-adb-wait-for-output, tramp-adb-maybe-open-connection):
* lisp/net/tramp-archive.el (tramp-archive-handle-not-implemented):
* lisp/net/tramp-crypt.el (tramp-crypt-do-encrypt-or-decrypt-file-name)
(tramp-crypt-do-encrypt-or-decrypt-file):
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error)
(tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-sh.el
(tramp-do-directory-files-and-attributes-with-perl)
(tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
(tramp-bundle-read-file-names, tramp-maybe-send-script)
(tramp-find-file-exists-command, tramp-barf-if-no-shell-prompt)
(tramp-maybe-open-connection, tramp-wait-for-output)
(tramp-send-command-and-check, tramp-barf-unless-okay)
(tramp-send-command-and-read, tramp-get-ls-command):
* lisp/net/tramp-smb.el (tramp-smb-handle-file-attributes)
(tramp-smb-handle-make-symbolic-link)
(tramp-smb-maybe-open-connection, tramp-smb-call-winexe):
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command-and-read):
Raise a `remote-file-error' in case of connection problems.

* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection): Improve
check for host.

* lisp/net/tramp-smb.el (tramp-smb-get-localname): Improve error message.

* lisp/net/tramp-sudoedit.el (tramp-default-host-alist):
Set a default for "sudoedit" method.
(tramp-sudoedit-maybe-open-connection): Check for proper host name.
(tramp-sudoedit-send-command): Do not expand ?h.

* lisp/net/tramp.el (tramp-compute-multi-hops): Check for cycle
proxy definition.

* test/lisp/net/tramp-archive-tests.el (tramp-archive-test20-file-modes)
(tramp-archive-test21-file-links): Check for `rmote-file-error'.

* test/lisp/net/tramp-tests.el (tramp-file-name-with-sudo): Declare.
(tramp--test-ignore-make-symbolic-link-error): Check for
`rmote-file-error'.
(tramp-test03-file-name-method-rules): Delete.
(tramp-test03-file-error): New test.
(tramp--test-supports-processes-p): Make it more rebust.
2026-02-12 19:24:10 +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 Add some more mailcap tests. 2022-01-16 00:21:17 +01:00
network-stream-resources Move more test data to follow our conventions 2020-10-23 21:07:26 +02:00
ntlm-resources Implement NTLM server for ntlm.el testing 2021-02-18 18:59:18 -05:00
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 ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
dbus-tests.el ; * test/lisp/net/dbus-tests.el: Remove obsolete function declarations. 2026-02-11 14:17:30 +01:00
dig-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudc-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eww-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
gnutls-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
hmac-md5-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
mailcap-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
network-stream-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
newsticker-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
nsm-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ntlm-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
puny-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rcirc-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rfc2104-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-cram-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-scram-rfc-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
secrets-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
shr-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
socks-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-archive-tests.el Tramp signals 'remote-file-error' consequently 2026-02-12 19:24:10 +01:00
tramp-tests.el Tramp signals 'remote-file-error' consequently 2026-02-12 19:24:10 +01:00
webjump-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00