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