Browse Source

hello.txt should be stored in tmpdir

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
af923154e2
  1. 1
      .gitignore
  2. 2
      test/simple/test-child-process-custom-fds.js
  3. 2
      test/simple/test-child-process-deprecated-api.js

1
.gitignore

@ -5,7 +5,6 @@ tags
*.pyc
doc/api.xml
tools/nodejs.pc
test/fixtures/hello.txt
tmp/
node
node_g

2
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...');

2
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;

Loading…
Cancel
Save