diff --git a/.gitignore b/.gitignore index f3b6236246..2e53dd35e0 100644 --- a/.gitignore +++ b/.gitignore @@ -5,11 +5,10 @@ tags *.pyc doc/api.xml tools/nodejs.pc -test/fixtures/hello.txt tmp/ node node_g *.swp .benchmark_reports /.project -/.cproject \ No newline at end of file +/.cproject diff --git a/test/simple/test-child-process-custom-fds.js b/test/simple/test-child-process-custom-fds.js index 97b70ee272..d4e4a47afd 100644 --- a/test/simple/test-child-process-custom-fds.js +++ b/test/simple/test-child-process-custom-fds.js @@ -35,7 +35,7 @@ var expected = 'hello world'; // Test the equivalent of: // $ /bin/echo 'hello world' > hello.txt -var helloPath = fixtPath('hello.txt'); +var helloPath = path.join(common.tmpDir, 'hello.txt'); function test1(next) { console.log('Test 1...'); diff --git a/test/simple/test-child-process-deprecated-api.js b/test/simple/test-child-process-deprecated-api.js index 5f26b12c9d..754c74bc4b 100644 --- a/test/simple/test-child-process-deprecated-api.js +++ b/test/simple/test-child-process-deprecated-api.js @@ -48,7 +48,7 @@ var exits = 0; // for child_process.spawn(path, args, env, customFds) deprecated api (function() { var expected = 'hello world'; - var helloPath = path.join(common.fixturesDir, 'hello.txt'); + var helloPath = path.join(common.tmpDir, 'hello.txt'); fs.open(helloPath, 'w', 400, function(err, fd) { if (err) throw err;