From 61e96789ddb1fe81520c3b1cc6c7ff43da5bc26f Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 21 Nov 2022 14:49:54 +0100 Subject: Activate direct asynchronous processes for Tramp container methods * doc/misc/tramp.texi (Remote processes): Mention also tramp-container.el. * lisp/emacs-lisp/ert-x.el (ert-remote-temporary-file-directory): Add `tramp-direct-async' to "mock" method. * lisp/net/tramp-container.el (tramp-methods) : Add `tramp-direct-async'. * lisp/net/tramp.el (tramp-methods): Adapt docstring. (tramp-handle-make-process): Handle `tramp-direct-async'. * test/lisp/net/tramp-tests.el (tramp-methods) : Add `tramp-direct-async'. --- test/lisp/net/tramp-tests.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/lisp/net') diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 46fef558bf2..a5bae46a583 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -140,10 +140,11 @@ A resource file is in the resource directory as per ((eq system-type 'windows-nt) null-device) (t (add-to-list 'tramp-methods - '("mock" - (tramp-login-program "sh") + `("mock" + (tramp-login-program ,tramp-default-remote-shell) (tramp-login-args (("-i"))) - (tramp-remote-shell "/bin/sh") + (tramp-direct-async ("-c")) + (tramp-remote-shell ,tramp-default-remote-shell) (tramp-remote-shell-args ("-c")) (tramp-connection-timeout 10))) (add-to-list -- cgit v1.2.3