aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJim Porter2022-08-22 09:53:24 -0700
committerJim Porter2022-08-29 20:16:31 -0700
commitf9250c5ebc1730bf3bed4382549433f52f7ef9ca (patch)
tree9c1f9b262115d866345476d37a3f2c1aac8a41d3 /test
parent9f692bcd84e2b6e450e154361e1058186e6481a8 (diff)
downloademacs-f9250c5ebc1730bf3bed4382549433f52f7ef9ca.tar.gz
emacs-f9250c5ebc1730bf3bed4382549433f52f7ef9ca.zip
Handle 'eshell-pipe-broken' when evaluating Lisp forms in Eshell
* lisp/eshell/esh-cmd.el (eshell-exec-lisp): Handle 'eshell-pipe-broken'. * lisp/eshell/esh-io.el (eshell-output-object-to-target): Only signal 'eshell-pipe-broken' if the process being written to has finished. * test/lisp/eshell/esh-proc-tests.el (esh-proc-test/pipeline-connection-type/middle) (esh-proc-test/pipeline-connection-type/last): Remove ':unstable'. Ref: https://lists.gnu.org/archive/html/emacs-devel/2022-08/msg00524.html
Diffstat (limited to 'test')
-rw-r--r--test/lisp/eshell/esh-proc-tests.el4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/lisp/eshell/esh-proc-tests.el b/test/lisp/eshell/esh-proc-tests.el
index 62e784e8f62..2369bb5cc00 100644
--- a/test/lisp/eshell/esh-proc-tests.el
+++ b/test/lisp/eshell/esh-proc-tests.el
@@ -74,8 +74,6 @@
74(ert-deftest esh-proc-test/pipeline-connection-type/middle () 74(ert-deftest esh-proc-test/pipeline-connection-type/middle ()
75 "Test that all streams are pipes when a command is in the middle of a 75 "Test that all streams are pipes when a command is in the middle of a
76pipeline." 76pipeline."
77 ;; Repeated unreproducible errors.
78 :tags '(:unstable)
79 (skip-unless (and (executable-find "sh") 77 (skip-unless (and (executable-find "sh")
80 (executable-find "cat"))) 78 (executable-find "cat")))
81 (eshell-command-result-equal 79 (eshell-command-result-equal
@@ -84,8 +82,6 @@ pipeline."
84 82
85(ert-deftest esh-proc-test/pipeline-connection-type/last () 83(ert-deftest esh-proc-test/pipeline-connection-type/last ()
86 "Test that only output streams are PTYs when a command ends a pipeline." 84 "Test that only output streams are PTYs when a command ends a pipeline."
87 ;; Repeated unreproducible errors.
88 :tags '(:unstable)
89 (skip-unless (executable-find "sh")) 85 (skip-unless (executable-find "sh"))
90 (eshell-command-result-equal 86 (eshell-command-result-equal
91 (concat "echo | " esh-proc-test--detect-pty-cmd) 87 (concat "echo | " esh-proc-test--detect-pty-cmd)