mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
a6b8ee19b8
Move creation of temporary directories for tests out of the Python harness and into common.js. This allows all tests to be run reliably outside of the Python wrapper. PR-URL: https://github.com/nodejs/io.js/pull/1877 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
11 lines
164 B
JavaScript
11 lines
164 B
JavaScript
var assert = require('assert');
|
|
|
|
var n = parseInt(process.argv[2]);
|
|
|
|
var b = new Buffer(n);
|
|
for (var i = 0; i < n; i++) {
|
|
b[i] = 100;
|
|
}
|
|
|
|
process.stdout.write(b);
|