diff options
Diffstat (limited to 'test/packages/npm-test-array-bin/test.js')
-rw-r--r-- | test/packages/npm-test-array-bin/test.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/packages/npm-test-array-bin/test.js b/test/packages/npm-test-array-bin/test.js new file mode 100644 index 000000000..b779e3a22 --- /dev/null +++ b/test/packages/npm-test-array-bin/test.js @@ -0,0 +1,6 @@ +var c = require('child_process').spawn('array-bin', [], { + env: process.env }).on('close', function (code) { + if (code) throw new Error('exited badly with code = ' + code) +}) +c.stdout.pipe(process.stdout) +c.stderr.pipe(process.stderr) |