From 0ac64af1d4a9ff8af0f6418b81fc7ea6eed465db Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 18 Apr 2018 20:18:33 -0400 Subject: [PATCH] * test/src/process-tests.el (make-process/mix-stderr): Use bash. Not all shells support ">&2". --- test/src/process-tests.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/src/process-tests.el b/test/src/process-tests.el index 849676ea8f0..e53fb58c091 100644 --- a/test/src/process-tests.el +++ b/test/src/process-tests.el @@ -182,12 +182,12 @@ (kill-process process))))) (ert-deftest make-process/mix-stderr () - "Check that ‘make-process’ mixes the output streams if STDERR is nil." - (skip-unless (executable-find shell-file-name)) + "Check that `make-process' mixes the output streams if STDERR is nil." + (skip-unless (executable-find "bash")) (with-temp-buffer (let ((process (make-process :name "mix-stderr" - :command (list shell-file-name shell-command-switch + :command (list "bash" "-c" "echo stdout && echo stderr >&2") :buffer (current-buffer) :sentinel #'ignore -- 2.11.4.GIT