aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/eshell/esh-proc-tests.el20
1 files changed, 7 insertions, 13 deletions
diff --git a/test/lisp/eshell/esh-proc-tests.el b/test/lisp/eshell/esh-proc-tests.el
index d58764ac29f..9118bcd1c61 100644
--- a/test/lisp/eshell/esh-proc-tests.el
+++ b/test/lisp/eshell/esh-proc-tests.el
@@ -174,23 +174,17 @@
174pipeline." 174pipeline."
175 (skip-unless (and (executable-find "sh") 175 (skip-unless (and (executable-find "sh")
176 (executable-find "cat"))) 176 (executable-find "cat")))
177 ;; An `eshell-pipe-broken' signal might occur internally; let Eshell 177 (eshell-command-result-equal
178 ;; handle it! 178 (concat "(ignore) | " esh-proc-test--detect-pty-cmd " | cat")
179 (let ((debug-on-error nil)) 179 nil))
180 (eshell-command-result-equal
181 (concat "echo hi | " esh-proc-test--detect-pty-cmd " | cat")
182 nil)))
183 180
184(ert-deftest esh-proc-test/pipeline-connection-type/last () 181(ert-deftest esh-proc-test/pipeline-connection-type/last ()
185 "Test that only output streams are PTYs when a command ends a pipeline." 182 "Test that only output streams are PTYs when a command ends a pipeline."
186 (skip-unless (executable-find "sh")) 183 (skip-unless (executable-find "sh"))
187 ;; An `eshell-pipe-broken' signal might occur internally; let Eshell 184 (eshell-command-result-equal
188 ;; handle it! 185 (concat "(ignore) | " esh-proc-test--detect-pty-cmd)
189 (let ((debug-on-error nil)) 186 (unless (eq system-type 'windows-nt)
190 (eshell-command-result-equal 187 "stdout\nstderr\n")))
191 (concat "echo hi | " esh-proc-test--detect-pty-cmd)
192 (unless (eq system-type 'windows-nt)
193 "stdout\nstderr\n"))))
194 188
195 189
196;; Synchronous processes 190;; Synchronous processes