node/test
Rich Trott 7c79490bfb 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: Rod Vagg <rod@vagg.org>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
2015-06-13 22:27:17 -07:00
..
addons test: remove smalloc add-on test 2015-06-01 23:17:52 +02:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger debugger: improve ESRCH error message 2015-06-05 05:54:19 +02:00
disabled test: enable linting for tests 2015-05-19 21:21:27 +02:00
fixtures test: only refresh tmpDir for tests that need it 2015-06-13 22:27:17 -07:00
gc test: enable linting for tests 2015-05-19 21:21:27 +02:00
internet test: enable linting for tests 2015-05-19 21:21:27 +02:00
message test: remove stray copyright notices 2015-05-26 17:17:40 +02:00
parallel test: only refresh tmpDir for tests that need it 2015-06-13 22:27:17 -07:00
pummel test: fix undeclared variable access 2015-06-11 20:22:51 +02:00
sequential test: only refresh tmpDir for tests that need it 2015-06-13 22:27:17 -07:00
testpy test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
timers test: enable linting for tests 2015-05-19 21:21:27 +02:00
.eslintrc tools: enable/add additional eslint rules 2015-06-11 20:27:35 +02:00
common.js test: only refresh tmpDir for tests that need it 2015-06-13 22:27:17 -07:00