]> git.eshelyaron.com Git - emacs.git/commit
; Adjust Eshell regression tests to avoid SIGPIPE
authorJim Porter <jporterbugs@gmail.com>
Mon, 25 Sep 2023 05:30:34 +0000 (22:30 -0700)
committerJim Porter <jporterbugs@gmail.com>
Sun, 1 Oct 2023 20:11:09 +0000 (13:11 -0700)
commit862e5effbf9b991af3fbbc8e31df33e64483c56f
treecf92ebb1ded1523c63e3c46dbcbeea87524d5673
parent6b2219cd2744c711580cc7226554e69c8cec8247
; Adjust Eshell regression tests to avoid SIGPIPE

In batch mode, SIGPIPEs can cause Emacs to abort (bug#66186).

* lisp/eshell/esh-io.el (eshell-output-object-to-target): Update
comment.

* test/lisp/eshell/esh-proc-tests.el
(esh-proc-test/pipeline-connection-type/middle)
(esh-proc-test/pipeline-connection-type/last): Use '(ignore)', since
that causes no output when called with no arguments, thus avoiding a
risky 'process-send-string'.
lisp/eshell/esh-io.el
test/lisp/eshell/esh-proc-tests.el