Forgot to add child_process_should_emit_error.js
This commit is contained in:
parent
264e540d00
commit
d7762dffe3
9
test/fixtures/child_process_should_emit_error.js
vendored
Normal file
9
test/fixtures/child_process_should_emit_error.js
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
var exec = require('child_process').exec,
|
||||
puts = require('sys').puts;
|
||||
|
||||
[0, 1].forEach(function(i) {
|
||||
exec('ls', function(err, stdout, stderr) {
|
||||
puts(i);
|
||||
throw new Error('hello world');
|
||||
});
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user