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