]> git.eshelyaron.com Git - emacs.git/commit
Make comint-tests more robust (bug#38813)
authorMattias Engdegård <mattiase@acm.org>
Mon, 30 Dec 2019 13:10:02 +0000 (14:10 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 30 Dec 2019 20:00:27 +0000 (21:00 +0100)
commit206531674947789841a61bd428dd6babce933a0d
treec9c8eb41c1b569c5a6c9735751622f1ae34488ac
parent59f71d20eade09e6c2ef99fc4d9b99a161bff040
Make comint-tests more robust (bug#38813)

* test/lisp/comint-tests.el (comint-test-no-password-function)
(comint-test-password-function-with-value)
(comint-test-password-function-with-nil):
Call accept-process-output as many times as needed, with a slightly
more generous timeout (100 ms), after sending the Password: prompt to
the process, since there must be time for some back-and-forth
communication.  Also clear the process-query-on-exit flag, since it
doesn't go well with noninteractive tests.
test/lisp/comint-tests.el