Browse Source

test: write to temp dir, not fixtures dir

v0.9.3-release
Ben Noordhuis 12 years ago
parent
commit
da1f48328c
  1. 2
      test/simple/test-stdout-to-file.js

2
test/simple/test-stdout-to-file.js

@ -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…
Cancel
Save