Permalink
Browse files

hello.txt should be stored in tmpdir

  • Loading branch information...
1 parent f10150b commit af923154e23853598296b6c9cd7d3d3dabaeacd1 @ry ry committed Mar 18, 2011
Showing with 3 additions and 4 deletions.
  1. +1 −2 .gitignore
  2. +1 −1 test/simple/test-child-process-custom-fds.js
  3. +1 −1 test/simple/test-child-process-deprecated-api.js
View
@@ -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
+/.cproject
@@ -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...');
@@ -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;

0 comments on commit af92315

Please sign in to comment.