1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/test/lisp/net
Michael Albinus 18a7e5414c Improve error handling in Tramp
* lisp/net/tramp-compat.el (ls-lisp): Require.

* lisp/net/tramp.el (ls-lisp-use-insert-directory-program):
Don't declare.
(tramp-current-connection): Adapt docstring.
(tramp-debug-message): Adapt function names.
(tramp-error, tramp-run-real-handler): Let-bind `signal-hook-function'.
(tramp-signal-hook-function): New defun.
(tramp-debug-on-error, tramp-condition-case-unless-debug): Remove.
(tramp-file-name-handler): Handle `tramp-current-connection'.
Let-bind `signal-hook-function'.  Use `unwind-protect' instead of
`tramp-condition-case-unless-debug'.
(tramp-handle-insert-directory): Don't require ls-lisp.
(tramp-process-actions): Check, that
`tramp-password-save-function' is non-nil.
(tramp-equal-remote): Handle the case both files are local.

* test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case):
Do not bind `tramp-debug-on-error'.
(tramp--test-ignore-make-symbolic-link-error): Make error handler
more explicit about the error.
2019-06-24 17:36:00 +02:00
..
tramp-archive-resources Fix Bug#30293 2018-01-31 15:02:46 +01:00
dbus-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
gnutls-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mailcap-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
network-stream-tests.el Fix network stream tests 2019-02-05 15:50:03 +01:00
newsticker-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
puny-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
rcirc-tests.el Make rcirc parsing more RFC2812 compliant (Bug#36233) 2019-06-22 19:25:44 -04:00
rfc2104-tests.el New file rfc2104-tests.el 2019-06-13 01:53:58 +02:00
sasl-scram-rfc-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
secrets-tests.el Update more copyright years 2018-12-31 18:47:22 -08:00
shr-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
tramp-archive-tests.el Stronger check for Tramp method 2019-06-04 12:51:45 +02:00
tramp-tests.el Improve error handling in Tramp 2019-06-24 17:36:00 +02:00