-
-
Save bnoordhuis/b34470aba1d1c4a0f864 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/simple/test-http-server-stale-close.js b/test/simple/test-http-server-stale-close.js | |
index e8ecf31..aa42a04 100644 | |
--- a/test/simple/test-http-server-stale-close.js | |
+++ b/test/simple/test-http-server-stale-close.js | |
@@ -22,6 +22,7 @@ | |
var common = require('../common'); | |
var assert = require('assert'); | |
var http = require('http'); | |
+var util = require('util'); | |
var fork = require('child_process').fork; | |
if (process.env.NODE_TEST_FORK) { | |
@@ -45,7 +46,7 @@ else { | |
}); | |
server.listen(common.PORT, function() { | |
fork(__filename, { | |
- env: {NODE_TEST_FORK: '1'} | |
+ env: util._extend(process.env, {NODE_TEST_FORK: '1'}) | |
}); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment