diff --git a/test/simple/test-fs-long-path.js b/test/simple/test-fs-long-path.js index eac58f68e5b..82691556a6e 100644 --- a/test/simple/test-fs-long-path.js +++ b/test/simple/test-fs-long-path.js @@ -47,5 +47,6 @@ fs.writeFile(fullPath, 'ok', function(err) { }); process.on('exit', function() { + fs.unlinkSync(fullPath); assert.equal(2, successes); });