diff options
| author | Michael Albinus | 2025-10-15 10:30:29 +0200 |
|---|---|---|
| committer | Michael Albinus | 2025-10-15 10:30:29 +0200 |
| commit | 53fa2b72183e110cc6da3ce172c48e40d3fea3c7 (patch) | |
| tree | 7168f7b85363aca07ef77b917a160d9f2637a2e4 /test | |
| parent | 7845936cbbf8c56a4d57700fbd10246b7288aa01 (diff) | |
| download | emacs-53fa2b72183e110cc6da3ce172c48e40d3fea3c7.tar.gz emacs-53fa2b72183e110cc6da3ce172c48e40d3fea3c7.zip | |
Add support for su-rs and sudo-rs programs
* doc/misc/tramp.texi (Inline methods): Add "surs" and "sudors" methods.
* etc/NEWS: Add optional "surs" and "sudors" Tramp methods.
Presentational fixes and improvements.
* lisp/net/tramp-cmds.el (tramp-file-name-with-method): Add "surs"
and "sudors" to :type. Adapt :version.
* lisp/net/tramp-sh.el (tramp-enable-surs-method)
(tramp-enable-sudors-method): New defuns
(tramp-sh-handle-expand-file-name): Add "surs" and "sudors" in check.
* lisp/net/tramp.el (tramp-methods): Adapt docstring.
* lisp/comint.el (comint-password-prompt-regexp):
* test/lisp/comint-tests.el (comint-testsuite-password-strings):
Add su-rs and sudo-rs password prompts.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/comint-tests.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el index d981aad7198..0ae5daa70ca 100644 --- a/test/lisp/comint-tests.el +++ b/test/lisp/comint-tests.el | |||
| @@ -38,6 +38,8 @@ | |||
| 38 | "Enter your password: " ; python3 -m twine ... Bug#37636 | 38 | "Enter your password: " ; python3 -m twine ... Bug#37636 |
| 39 | "Passphrase for key root@GNU.ORG: " ; plink | 39 | "Passphrase for key root@GNU.ORG: " ; plink |
| 40 | "[sudo] password for user:" ; Ubuntu sudo | 40 | "[sudo] password for user:" ; Ubuntu sudo |
| 41 | "[sudo: authenticate] Password:" ; sudo-rs | ||
| 42 | "[su: authenticate] Password:" ; su-rs | ||
| 41 | "[sudo] user 的密码:" ; localized | 43 | "[sudo] user 的密码:" ; localized |
| 42 | "doas (user@host) password:" ; OpenBSD doas | 44 | "doas (user@host) password:" ; OpenBSD doas |
| 43 | "PIN for user:" ; Bug#35523 | 45 | "PIN for user:" ; Bug#35523 |