1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 14:10:47 -08:00
emacs/test/lisp/net
Michael Albinus 65441a6fab Add remote processes to Tramp sshfs method
* doc/misc/tramp.texi (FUSE setup): Method sshfs supports also
remote processes.

* lisp/net/tramp-cache.el (tramp-get-file-property)
(tramp-set-file-property): Move setting of
`tramp-cache-unload-hook' out of function.

* lisp/net/tramp.el (tramp-expand-args): New defun.
(tramp-handle-make-process):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command): Use it.

* lisp/net/tramp-sshfs.el (tramp-methods) <sshfs>:
Adapt `tramp-mount-args'.  Add `tramp-login-args',
`tramp-direct-async', `tramp-remote-shell',
`tramp-remote-shell-login' and `tramp-remote-shell-args'.
(tramp-connection-properties): Set "direct-async-process" fir sshfs.
(tramp-sshfs-file-name-handler-alist): Add `exec-path',
`make-process', `process-file', `set-file-modes', `shell-command',
`start-file-process', `tramp-get-remote-gid',
`tramp-get-remote-uid' and `tramp-set-file-uid-gid'.
(tramp-sshfs-handle-exec-path, tramp-sshfs-handle-process-file)
(tramp-sshfs-handle-set-file-modes): New defuns.

* test/lisp/net/tramp-tests.el (tramp-test20-file-modes)
(tramp-test28-process-file, tramp-test29-start-file-process)
(tramp-test30-make-process, tramp-test32-shell-command)
(tramp-test32-shell-command-dont-erase-buffer)
(tramp-test34-explicit-shell-file-name, tramp-test35-exec-path)
(tramp-test43-asynchronous-requests): Run also for tramp-sshfs.
(tramp--test-shell-file-name): New defun.
(tramp-test28-process-file)
(tramp-test34-explicit-shell-file-name)
(tramp-test43-asynchronous-requests): Use it.
(tramp-test40-special-characters-with-stat)
(tramp-test40-special-characters-with-perl)
(tramp-test40-special-characters-with-ls)
(tramp-test41-utf8-with-stat, tramp-test41-utf8-with-perl)
(tramp-test41-utf8-with-ls): Remove superfluous skip.
2021-03-11 17:16:50 +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
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 Fix Bug#30293 2018-01-31 15:02:46 +01:00
browse-url-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08: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 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
network-stream-tests.el Re-enable network-stream-tests.el :nowait t tests 2021-02-25 16:44:43 +01:00
newsticker-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
nsm-tests.el Only run IPv6 tests if we have an IPv6 address 2021-01-12 18:53:48 +01: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 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
socks-tests.el Mute noisy test fixture for socks.el 2021-02-20 17:15:44 +02:00
tramp-archive-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
tramp-tests.el Add remote processes to Tramp sshfs method 2021-03-11 17:16:50 +01:00
webjump-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00