1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00
emacs/test/lisp/net
Michael Albinus 3863919a00 Fix unmounting in Tramp
* doc/misc/tramp.texi (FUSE setup): Add tramp-fuse-unmount-on-cleanup.

* lisp/net/tramp.el (tramp-file-name-unify): New defun.
(tramp-file-name-equal-p):
* lisp/net/tramp-cache.el (tramp-get-connection-property)
(tramp-set-connection-property, tramp-flush-connection-property)
(tramp-flush-connection-properties): Use it.

* lisp/net/tramp-fuse.el (tramp-fuse-get-fusermount): New defun.
(tramp-fuse-mount-points): New defvar.
(tramp-fuse-unmount): Use it.  Delete VEC from
`tramp-fuse-mount-points'.  Delete mount point.
(tramp-fuse-unmount-on-cleanup): New user option.
(tramp-fuse-cleanup, tramp-fuse-cleanup-all): New defuns.
(top): Adapt `tramp-fuse-unload-hook',
`tramp-cleanup-connection-hook',
`tramp-cleanup-all-connections-hook' and `kill-emacs-hook'.

* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
Add VEC to `tramp-fuse-mount-points'.

* test/lisp/net/tramp-tests.el (tramp-fuse-unmount-on-cleanup): Declare.
(tramp-test39-make-lock-file-name): Use it.
2021-10-03 18:55:35 +02: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 Add a test for netrc folding parsing (bug#25769) 2021-08-14 16:08:48 +02: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
shr-resources Move shr.el test data to follow our conventions 2020-10-24 02:29:04 +02:00
tramp-archive-resources
browse-url-tests.el Fix encoding in browse-url-encode-url 2021-09-07 17:46:55 +02:00
dbus-tests.el Add command 'dbus-monitor' 2021-02-05 14:32:41 +01:00
dig-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
gnutls-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
hmac-md5-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
mailcap-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
netrc-tests.el Add a test for netrc folding parsing (bug#25769) 2021-08-14 16:08:48 +02:00
network-stream-tests.el Silence byte-compiler warning for network-stream-tests.el 2021-09-21 13:56:34 +02:00
newsticker-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
nsm-tests.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
ntlm-tests.el ntlm-tests: Remove missing dependency warnings 2021-02-19 17:11:42 -05:00
puny-tests.el Fix Bootstring skew parameter in puny.el 2021-03-01 14:05:36 +01:00
rcirc-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
rfc2104-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sasl-cram-tests.el Use lexical-binding in sasl.el and add tests 2021-01-29 20:11:38 +01:00
sasl-scram-rfc-tests.el ; Minor license statement fixes 2021-02-08 09:10:57 +01:00
sasl-tests.el Use lexical-binding in sasl.el and add tests 2021-01-29 20:11:38 +01:00
secrets-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
shr-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
socks-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
tramp-archive-tests.el Implement file locks for remote files (Bug#49261) 2021-07-07 18:36:53 +02:00
tramp-tests.el Fix unmounting in Tramp 2021-10-03 18:55:35 +02:00
webjump-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00