mirror of https://github.com/nodejs/node.git
test: write to temp dir, not fixtures dir
parent
7611c7cd25
commit
da1f48328c
|
@ -30,7 +30,7 @@ var fs = require('fs');
|
||||||
|
|
||||||
var scriptString = path.join(common.fixturesDir, 'print-chars.js');
|
var scriptString = path.join(common.fixturesDir, 'print-chars.js');
|
||||||
var scriptBuffer = path.join(common.fixturesDir, 'print-chars-from-buffer.js');
|
var scriptBuffer = path.join(common.fixturesDir, 'print-chars-from-buffer.js');
|
||||||
var tmpFile = path.join(common.fixturesDir, 'stdout.txt');
|
var tmpFile = path.join(common.tmpDir, 'stdout.txt');
|
||||||
|
|
||||||
function test(size, useBuffer, cb) {
|
function test(size, useBuffer, cb) {
|
||||||
var cmd = '"' + process.argv[0] + '"' +
|
var cmd = '"' + process.argv[0] + '"' +
|
||||||
|
|
Loading…
Reference in New Issue