diff options
| author | Glenn Morris | 2018-04-18 20:18:33 -0400 |
|---|---|---|
| committer | Glenn Morris | 2018-04-18 20:18:33 -0400 |
| commit | 0ac64af1d4a9ff8af0f6418b81fc7ea6eed465db (patch) | |
| tree | ce8d32d649b5a1115e2f0d9eaeed179ce69a9ac0 /test/src/process-tests.el | |
| parent | d21403505994ef098e6f1f93b8809c1c29beab2a (diff) | |
| download | emacs-0ac64af1d4a9ff8af0f6418b81fc7ea6eed465db.tar.gz emacs-0ac64af1d4a9ff8af0f6418b81fc7ea6eed465db.zip | |
* test/src/process-tests.el (make-process/mix-stderr): Use bash.
Not all shells support ">&2".
Diffstat (limited to 'test/src/process-tests.el')
| -rw-r--r-- | test/src/process-tests.el | 6 |
1 files 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 @@ | |||
| 182 | (kill-process process))))) | 182 | (kill-process process))))) |
| 183 | 183 | ||
| 184 | (ert-deftest make-process/mix-stderr () | 184 | (ert-deftest make-process/mix-stderr () |
| 185 | "Check that ‘make-process’ mixes the output streams if STDERR is nil." | 185 | "Check that `make-process' mixes the output streams if STDERR is nil." |
| 186 | (skip-unless (executable-find shell-file-name)) | 186 | (skip-unless (executable-find "bash")) |
| 187 | (with-temp-buffer | 187 | (with-temp-buffer |
| 188 | (let ((process (make-process | 188 | (let ((process (make-process |
| 189 | :name "mix-stderr" | 189 | :name "mix-stderr" |
| 190 | :command (list shell-file-name shell-command-switch | 190 | :command (list "bash" "-c" |
| 191 | "echo stdout && echo stderr >&2") | 191 | "echo stdout && echo stderr >&2") |
| 192 | :buffer (current-buffer) | 192 | :buffer (current-buffer) |
| 193 | :sentinel #'ignore | 193 | :sentinel #'ignore |