Skip to content

Commit

Permalink
Remove -e from echo in test. Non-portable
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Nov 16, 2010
1 parent 299eda8 commit 7590075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/simple/test-child-process-double-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ var assert = require('assert'),
spawn = require('child_process').spawn;

// We're trying to reproduce:
// $ echo -e "hello\nnode\nand\nworld" | grep o | sed s/o/a/
// $ echo "hello\nnode\nand\nworld" | grep o | sed s/o/a/

var
echo = spawn('echo', ['-e', 'hello\nnode\nand\nworld\n']),
echo = spawn('echo', ['hello\nnode\nand\nworld\n']),
grep = spawn('grep', ['o']),
sed = spawn('sed', ['s/o/O/']);

Expand Down

0 comments on commit 7590075

Please sign in to comment.