diff --git a/test/simple/test-file-write-stream.js b/test/simple/test-file-write-stream.js index a978d5920d..69449bce7b 100644 --- a/test/simple/test-file-write-stream.js +++ b/test/simple/test-file-write-stream.js @@ -4,7 +4,7 @@ assert = common.assert var path = require('path'), fs = require('fs'), - fn = path.join(common.fixturesDir, "write.txt"), + fn = path.join(common.tmpDir, "write.txt"), file = fs.createWriteStream(fn), EXPECTED = '012345678910', diff --git a/test/simple/test-fs-write-buffer.js b/test/simple/test-fs-write-buffer.js index 13b99ef594..3d458aa574 100644 --- a/test/simple/test-fs-write-buffer.js +++ b/test/simple/test-fs-write-buffer.js @@ -3,7 +3,7 @@ assert = common.assert var path = require('path'), Buffer = require('buffer').Buffer, fs = require('fs'), - filename = path.join(common.fixturesDir, 'write.txt'), + filename = path.join(common.tmpDir, 'write.txt'), expected = new Buffer('hello'), openCalled = 0, writeCalled = 0; diff --git a/test/simple/test-fs-write-stream.js b/test/simple/test-fs-write-stream.js index 14ad62e0ba..a604107c5f 100644 --- a/test/simple/test-fs-write-stream.js +++ b/test/simple/test-fs-write-stream.js @@ -4,7 +4,7 @@ assert = common.assert var path = require('path'), fs = require('fs'); -var file = path.join(common.fixturesDir, "write.txt"); +var file = path.join(common.tmpDir, "write.txt"); (function() { var stream = fs.WriteStream(file), diff --git a/test/simple/test-fs-write-sync.js b/test/simple/test-fs-write-sync.js index 5251c49ab4..ecbb474b56 100644 --- a/test/simple/test-fs-write-sync.js +++ b/test/simple/test-fs-write-sync.js @@ -3,7 +3,7 @@ assert = common.assert path = require('path'), Buffer = require('buffer').Buffer fs = require('fs') -fn = path.join(common.fixturesDir, 'write.txt'); +fn = path.join(common.tmpDir, 'write.txt'); foo = 'foo' diff --git a/test/simple/test-fs-write.js b/test/simple/test-fs-write.js index d47d0254dd..637cacb5af 100644 --- a/test/simple/test-fs-write.js +++ b/test/simple/test-fs-write.js @@ -3,7 +3,7 @@ assert = common.assert var path = require('path'); var Buffer = require('buffer').Buffer; var fs = require('fs'); -var fn = path.join(common.fixturesDir, "write.txt"); +var fn = path.join(common.tmpDir, "write.txt"); var expected = "ümlaut."; var found;