summaryrefslogtreecommitdiff
path: root/test/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-11-07 21:34:41 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-11-07 21:34:41 +0100
commit14bbebcf1d217dcfc679fc95f195867cdf267f89 (patch)
tree7d13803cf7d8d1e1c747c475c6dfa99dc0fc9ac9 /test/lisp
parent86fc154317c605a4f6434694d8e754446d37b733 (diff)
downloademacs-14bbebcf1d217dcfc679fc95f195867cdf267f89.tar.gz
emacs-14bbebcf1d217dcfc679fc95f195867cdf267f89.tar.bz2
emacs-14bbebcf1d217dcfc679fc95f195867cdf267f89.zip
Match password prompts from new OpenSSH
* lisp/comint.el (comint-password-prompt-regexp): Add support for the openssh-8.6p1 "(user@host) Password:" format (bug#51666).
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/comint-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el
index e1bac81a185..0bd5c1e9d15 100644
--- a/test/lisp/comint-tests.el
+++ b/test/lisp/comint-tests.el
@@ -43,6 +43,7 @@
"PIN for user:" ; Bug#35523
"Password (again):"
"Enter password:"
+ "(user@host) Password: " ; openssh-8.6p1
"Current password:" ; "passwd" (to change password) in Debian.
"Enter encryption key: " ; ccrypt
"Enter decryption key: " ; ccrypt