projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c6fe2
)
test: optionally set common.PORT via env variable
author
Timothy J Fontaine
<tjfontaine@gmail.com>
Tue, 26 Feb 2013 06:19:16 +0000
(22:19 -0800)
committer
isaacs
<i@izs.me>
Tue, 26 Feb 2013 16:07:46 +0000
(08:07 -0800)
test/common.js
patch
|
blob
|
history
diff --git
a/test/common.js
b/test/common.js
index
455a4cd
..
d529ab2
100644
(file)
--- a/
test/common.js
+++ b/
test/common.js
@@
-26,7
+26,7
@@
exports.testDir = path.dirname(__filename);
exports.fixturesDir = path.join(exports.testDir, 'fixtures');
exports.libDir = path.join(exports.testDir, '../lib');
exports.tmpDir = path.join(exports.testDir, 'tmp');
-exports.PORT = 12346;
+exports.PORT =
+process.env.NODE_COMMON_PORT ||
12346;
if (process.platform === 'win32') {
exports.PIPE = '\\\\.\\pipe\\libuv-test';