diff options
author | Noam Postavsky <npostavs@gmail.com> | 2018-06-25 19:11:41 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-08-23 22:50:15 -0400 |
commit | 161139a42c02cce051c51fb80c6ae00c9e6beaa6 (patch) | |
tree | 26a0d05e290d25ccfcd4e6fb74b2d313fb23d5e6 /test/lisp/comint-tests.el | |
parent | 74277b0e88197c169acfc16025e0e116230c021e (diff) | |
download | emacs-161139a42c02cce051c51fb80c6ae00c9e6beaa6.tar.gz emacs-161139a42c02cce051c51fb80c6ae00c9e6beaa6.tar.bz2 emacs-161139a42c02cce051c51fb80c6ae00c9e6beaa6.zip |
Detect Chinese sudo password prompts (Bug#31075)
* lisp/comint.el (comint-password-prompt-regexp): Allow text between
the prompt prefix and password equivalent.
* lisp/eshell/esh-mode.el (eshell-password-prompt-regexp): Accept some
unicode alternatives to ":".
* test/lisp/comint-tests.el (comint-testsuite-password-strings): Add
test case.
Diffstat (limited to 'test/lisp/comint-tests.el')
-rw-r--r-- | test/lisp/comint-tests.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el index 366fcc9ad89..eab2709cea9 100644 --- a/test/lisp/comint-tests.el +++ b/test/lisp/comint-tests.el @@ -36,6 +36,7 @@ "Enter same passphrase again: " ; ssh-keygen "Passphrase for key root@GNU.ORG: " ; plink "[sudo] password for user:" ; Ubuntu sudo + "[sudo] user 的密码:" ; localized "Password (again):" "Enter password:" "Mot de Passe :" ; localized (Bug#29729) |