diff options
| author | Michael Albinus | 2019-05-24 15:36:15 +0200 |
|---|---|---|
| committer | Michael Albinus | 2019-05-24 15:36:15 +0200 |
| commit | 43db6dd6b4cc9445eacbb39181fefd0ead9ba98d (patch) | |
| tree | b383aa5c2432961c15197ce88d4e4900e556667b | |
| parent | adab8bd35be440900ac6e4a250665bca2f9c7d51 (diff) | |
| parent | f6d3005069551f3ed5817078a095b868007bf12d (diff) | |
| download | emacs-43db6dd6b4cc9445eacbb39181fefd0ead9ba98d.tar.gz emacs-43db6dd6b4cc9445eacbb39181fefd0ead9ba98d.zip | |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
| -rw-r--r-- | lisp/comint.el | 5 | ||||
| -rw-r--r-- | test/lisp/comint-tests.el | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 3939371ab85..b6ed199327e 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -349,13 +349,14 @@ This variable is buffer-local." | |||
| 349 | ;; Ubuntu's sudo prompts like `[sudo] password for user:' | 349 | ;; Ubuntu's sudo prompts like `[sudo] password for user:' |
| 350 | ;; Some implementations of passwd use "Password (again)" as the 2nd prompt. | 350 | ;; Some implementations of passwd use "Password (again)" as the 2nd prompt. |
| 351 | ;; Something called "perforce" uses "Enter password:". | 351 | ;; Something called "perforce" uses "Enter password:". |
| 352 | ;; See M-x comint-testsuite--test-comint-password-prompt-regexp. | 352 | ;; OpenVPN prints a prompt like: "Enter Auth Password:". |
| 353 | ;; See ert test `comint-test-password-regexp'. | ||
| 353 | (defcustom comint-password-prompt-regexp | 354 | (defcustom comint-password-prompt-regexp |
| 354 | (concat | 355 | (concat |
| 355 | "\\(^ *\\|" | 356 | "\\(^ *\\|" |
| 356 | (regexp-opt | 357 | (regexp-opt |
| 357 | '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the" | 358 | '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the" |
| 358 | "Old" "old" "New" "new" "'s" "login" | 359 | "Enter Auth" "enter auth" "Old" "old" "New" "new" "'s" "login" |
| 359 | "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO" | 360 | "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO" |
| 360 | "[sudo]" "Repeat" "Bad" "Retype") | 361 | "[sudo]" "Repeat" "Bad" "Retype") |
| 361 | t) | 362 | t) |
diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el index 49e59c526f4..0d2d648bbae 100644 --- a/test/lisp/comint-tests.el +++ b/test/lisp/comint-tests.el | |||
| @@ -39,6 +39,7 @@ | |||
| 39 | "[sudo] user 的密码:" ; localized | 39 | "[sudo] user 的密码:" ; localized |
| 40 | "Password (again):" | 40 | "Password (again):" |
| 41 | "Enter password:" | 41 | "Enter password:" |
| 42 | "Enter Auth Password:" ; OpenVPN (Bug#35724) | ||
| 42 | "Mot de Passe :" ; localized (Bug#29729) | 43 | "Mot de Passe :" ; localized (Bug#29729) |
| 43 | "Passwort:") ; localized | 44 | "Passwort:") ; localized |
| 44 | "List of strings that should match `comint-password-prompt-regexp'.") | 45 | "List of strings that should match `comint-password-prompt-regexp'.") |