aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-long-path.js
diff options
context:
space:
mode:
authorJoão Reis <reis@janeasystems.com>2019-07-30 07:50:21 +0100
committerRich Trott <rtrott@gmail.com>2019-08-10 19:22:11 -0700
commit8ef68e66d0465441a79a5dae22e480bf0d83ed25 (patch)
tree903d3a6fb4172e179717d8bc478729f621201577 /test/parallel/test-fs-long-path.js
parent0376b5b7baf627b112915183edf9e1ea2d3856b7 (diff)
downloadandroid-node-v8-8ef68e66d0465441a79a5dae22e480bf0d83ed25.tar.gz
android-node-v8-8ef68e66d0465441a79a5dae22e480bf0d83ed25.tar.bz2
android-node-v8-8ef68e66d0465441a79a5dae22e480bf0d83ed25.zip
test: clean tmpdir on process exit
PR-URL: https://github.com/nodejs/node/pull/28858 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-fs-long-path.js')
-rw-r--r--test/parallel/test-fs-long-path.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/parallel/test-fs-long-path.js b/test/parallel/test-fs-long-path.js
index 11ec4d56fc..3e61c9a769 100644
--- a/test/parallel/test-fs-long-path.js
+++ b/test/parallel/test-fs-long-path.js
@@ -49,7 +49,3 @@ fs.writeFile(fullPath, 'ok', common.mustCall(function(err) {
assert.ifError(err);
}));
}));
-
-process.on('exit', function() {
- fs.unlinkSync(fullPath);
-});