diff options
author | Philipp Stephani <phst@google.com> | 2021-01-02 13:53:17 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-01-02 13:53:17 +0100 |
commit | 64f2c96cbe3ba803c4026c976c425771911e29e3 (patch) | |
tree | 1a18b4b1cb39eb6a3ca2b4b1e74a132d36543a8c /lisp/emacs-lisp/elp.el | |
parent | df605870fde7e31d2ca76fd7e69961ba94604a34 (diff) | |
download | emacs-64f2c96cbe3ba803c4026c976c425771911e29e3.tar.gz emacs-64f2c96cbe3ba803c4026c976c425771911e29e3.tar.bz2 emacs-64f2c96cbe3ba803c4026c976c425771911e29e3.zip |
Make a process test faster.
The test 'process-tests/fd-setsize-no-crash/make-process' used to call
'sleep' to ensure that enough processes are live to trigger a
FD_SETSIZE overflow. However, we can just call 'cat' instead and
close standard input when done. That way, we only wait as long as
needed.
* process-tests.el
(process-tests/fd-setsize-no-crash/make-process): Invoke 'cat' instead
of 'sleep'. Close standard input to exit the 'cat' processes.
Diffstat (limited to 'lisp/emacs-lisp/elp.el')
0 files changed, 0 insertions, 0 deletions