diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-03-21 02:58:54 +0200 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-03-23 05:52:35 +0200 |
commit | 2dff3a22feefe173c2c44574fd3cf312f79ee3b2 (patch) | |
tree | df07a46d244111fb7770e536923ad715182911fd /test/parallel/test-child-process-spawn-shell.js | |
parent | 8a639bb6965658f526950ca787c8d28bca93e608 (diff) | |
download | android-node-v8-2dff3a22feefe173c2c44574fd3cf312f79ee3b2.tar.gz android-node-v8-2dff3a22feefe173c2c44574fd3cf312f79ee3b2.tar.bz2 android-node-v8-2dff3a22feefe173c2c44574fd3cf312f79ee3b2.zip |
test: do not use `more` command on Windows
PR-URL: https://github.com/nodejs/node/pull/11953
Fixes: https://github.com/nodejs/node/issues/11469
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-child-process-spawn-shell.js')
-rw-r--r-- | test/parallel/test-child-process-spawn-shell.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-spawn-shell.js b/test/parallel/test-child-process-spawn-shell.js index 444d1eb063..e9dd0e07ef 100644 --- a/test/parallel/test-child-process-spawn-shell.js +++ b/test/parallel/test-child-process-spawn-shell.js @@ -34,7 +34,7 @@ echo.on('close', common.mustCall((code, signal) => { })); // Verify that shell features can be used -const cmd = common.isWindows ? 'echo bar | more' : 'echo bar | cat'; +const cmd = 'echo bar | cat'; const command = cp.spawn(cmd, { encoding: 'utf8', shell: true |