[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 0ac64af: * test/src/process-tests.el (make-process/

From: Glenn Morris
Subject: [Emacs-diffs] master 0ac64af: * test/src/process-tests.el (make-process/mix-stderr): Use bash.
Date: Wed, 18 Apr 2018 20:19:22 -0400 (EDT)

branch: master
commit 0ac64af1d4a9ff8af0f6418b81fc7ea6eed465db
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * 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 849676e..e53fb58 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"))
     (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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]