test: write to temp dir, not fixtures dir

pull/24504/head
Ben Noordhuis 2012-10-08 00:25:07 +02:00
parent 7611c7cd25
commit da1f48328c
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ var fs = require('fs');
var scriptString = path.join(common.fixturesDir, 'print-chars.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) {
var cmd = '"' + process.argv[0] + '"' +