Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: add parameter for correct status code on windows 2008
  • Loading branch information
Trott committed Aug 25, 2015
commit c273d2926f009bffd26875d69eb19196acbba4f9
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-spawnsync.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var spawnSync = require('child_process').spawnSync;

// Echo does different things on Windows and Unix, but in both cases, it does
// more-or-less nothing if there are no parameters
var ret = spawnSync('echo');
var ret = spawnSync('echo', ['test_message']);
assert.strictEqual(ret.status, 0, 'exit status should be zero');

// Error test when command does not exist
Expand Down