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 c0c6cd2d5d Add 'remote-file-error' for Tramp
* doc/lispref/errors.texi (Standard Errors): Add 'remote-file-error'.

* etc/NEWS: Mention 'remote-file-error'.

* lisp/net/ange-ftp.el (ftp-error): Add error condition
`remote-file-error'.

* lisp/net/tramp-cmds.el (tramp-cleanup-all-connections): Do not set
`tramp-locked'.

* lisp/net/tramp-compat.el (remote-file-error): Define if it
doesn't exist.

* lisp/net/tramp-sh.el (tramp-timeout-session): Check for "locked"
property.
(tramp-maybe-open-connection): Simplify.

* lisp/net/tramp.el (tramp-locked, tramp-locker): Remove them.
(tramp-file-name-handler): Do not set them.
(with-tramp-locked-connection): New defmacro.
(tramp-accept-process-output, tramp-send-string): Use it.

* src/fileio.c (Qremote_file_error): New error symbol.

* test/lisp/net/tramp-tests.el (tramp-test43-asynchronous-requests):
Adapt test.  Remove :unstable tag.
2020-12-14 19:30:01 +01:00
..
dbus-resources Add D-Bus introspection tests 2020-09-30 11:19:41 +02:00
mailcap-resources Move some test data to follow our conventions 2020-10-23 16:29:46 +02:00
netrc-resources Use lexical-binding in netrc.el and add tests 2020-10-28 03:24:18 +01:00
network-stream-resources Move more test data to follow our conventions 2020-10-23 21:07:26 +02:00
shr-resources Move shr.el test data to follow our conventions 2020-10-24 02:29:04 +02:00
tramp-archive-resources Fix Bug#30293 2018-01-31 15:02:46 +01:00
browse-url-tests.el Use lexical-binding in browse-url.el and add tests 2020-08-07 17:37:06 +02:00
dbus-tests.el * test/lisp/net/dbus-tests.el (dbus-test09-get-managed-objects): Expand test. 2020-10-30 08:59:11 +01:00
dig-tests.el Use lexical-binding in dig.el and add tests 2020-04-26 01:11:05 +02:00
gnutls-tests.el Mark some tests as expensive 2020-09-10 20:25:19 +02:00
hmac-md5-tests.el Use lexical-binding in hmac-md5.el and add tests 2020-04-28 18:14:28 +02:00
mailcap-tests.el Move some test data to follow our conventions 2020-10-23 16:29:46 +02:00
netrc-tests.el Use lexical-binding in netrc.el and add tests 2020-10-28 03:24:18 +01:00
network-stream-tests.el Move more test data to follow our conventions 2020-10-23 21:07:26 +02:00
newsticker-tests.el Use lexical-binding for all net tests 2020-04-24 20:26:36 +02:00
nsm-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ntlm-tests.el Don't rely on bignums in ntlm.el 2020-10-27 12:25:57 +01:00
puny-tests.el Use lexical-binding in puny.el and add more tests 2020-04-28 18:14:28 +02:00
rcirc-tests.el Make rcirc nick renaming heed nickname max lengths 2020-12-08 18:22:47 +01:00
rfc2104-tests.el ; Fix license statement in several files 2020-10-28 03:41:55 +01:00
sasl-scram-rfc-tests.el Add SASL SCRAM-SHA-256 support. 2020-01-16 08:54:04 +01:00
secrets-tests.el ; Fix license statement in several files 2020-10-28 03:41:55 +01:00
shr-tests.el Move shr.el test data to follow our conventions 2020-10-24 02:29:04 +02:00
tramp-archive-tests.el ; Fix license statement in several files 2020-10-28 03:41:55 +01:00
tramp-tests.el Add 'remote-file-error' for Tramp 2020-12-14 19:30:01 +01:00
webjump-tests.el Use lexical-binding in webjump.el and add tests 2020-05-18 17:58:01 +02:00