summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-respond-file-with-pipe.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-http2-respond-file-with-pipe.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-http2-respond-file-with-pipe.js')
-rw-r--r--test/parallel/test-http2-respond-file-with-pipe.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/parallel/test-http2-respond-file-with-pipe.js b/test/parallel/test-http2-respond-file-with-pipe.js
index 2b7ca3fc9a..d0557c2fd0 100644
--- a/test/parallel/test-http2-respond-file-with-pipe.js
+++ b/test/parallel/test-http2-respond-file-with-pipe.js
@@ -21,8 +21,6 @@ if (mkfifo.error && mkfifo.error.code === 'ENOENT') {
common.skip('missing mkfifo');
}
-process.on('exit', () => fs.unlinkSync(pipeName));
-
const server = http2.createServer();
server.on('stream', (stream) => {
stream.respondWithFile(pipeName, {