Commit 7c79490b authored by Rich Trott's avatar Rich Trott
Browse files

test: only refresh tmpDir for tests that need it

Expose `common.refreshTmpDir()` and only call it
for tests that use common.tmpDir or common.PIPE.

A positive side effect is the removal of a code
smell where child processes were detected by the
presence of `.send()`. Now each process can decide
for itself if it needs to refresh tmpDir.

PR-URL: https://github.com/nodejs/io.js/pull/1954


Reviewed-By: default avatarRod Vagg <rod@vagg.org>
Reviewed-By: default avatarJohan Bergström <bugs@bergstroem.nu>
parent 88d7904c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment