mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-31 01:32:00 -07:00
keyboard-tests.el: Try and fix the failure on EMBA
* test/src/keyboard-tests.el (keyboard-sigint-to-quit): Fix a small race condition and avoid `sit-for` returning early.
This commit is contained in:
parent
ce3098752c
commit
ff96db93f2
1 changed files with 5 additions and 5 deletions
|
|
@ -92,11 +92,11 @@
|
|||
`(,(expand-file-name invocation-name invocation-directory)
|
||||
"-Q" "--batch" "--eval"
|
||||
,(prin1-to-string
|
||||
`(progn (setq kill-emacs-on-sigint nil)
|
||||
(message "Ready!")
|
||||
(condition-case nil
|
||||
(dotimes (_ 3) (sit-for 1))
|
||||
(quit (message "%s" ,exit-msg)))))))))
|
||||
`(condition-case nil
|
||||
(progn (setq kill-emacs-on-sigint nil)
|
||||
(message "Ready!")
|
||||
(sleep-for 3))
|
||||
(quit (message "%s" ,exit-msg))))))))
|
||||
(while (progn (accept-process-output proc 1.0)
|
||||
(goto-char (point-min))
|
||||
(not (re-search-forward "Ready!" nil t)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue