| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d773fd4 commit b706d5d
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,11 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | + | ||
| 4 | + // Check that cluster works perfectly for both `kill` and `disconnect` cases. | ||
| 5 | + // Also take into account that the `disconnect` event may be received after the | ||
| 6 | + // `exit` event. | ||
| 7 | + // https://github.com/nodejs/node/issues/3238 | ||
| 8 | + | ||
| 3 | 9 | const assert = require('assert'); | |
| 4 | 10 | const cluster = require('cluster'); | |
| 5 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,11 @@ | |||
| 1 | 1 | /* eslint-disable strict */ | |
| 2 | 2 | require('../common'); | |
| 3 | - const assert = require('assert'); | ||
| 4 | 3 | ||
| 5 | - /* | ||
| 6 | - In Node.js 0.10, a bug existed that caused strict functions to not capture | ||
| 7 | - their environment when evaluated. When run in 0.10 `test()` fails with a | ||
| 8 | - `ReferenceError`. See https://github.com/nodejs/node/issues/2245 for details. | ||
| 9 | - */ | ||
| 4 | + // In Node.js 0.10, a bug existed that caused strict functions to not capture | ||
| 5 | + // their environment when evaluated. When run in 0.10 `test()` fails with a | ||
| 6 | + // `ReferenceError`. See https://github.com/nodejs/node/issues/2245 for details. | ||
| 7 | + | ||
| 8 | + const assert = require('assert'); | ||
| 10 | 9 | ||
| 11 | 10 | function test() { | |
| 12 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,15 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - | ||
| 3 | 2 | const common = require('../common'); | |
| 3 | + const tmpdir = require('../common/tmpdir'); | ||
| 4 | + | ||
| 5 | + // This test ensures that fs.existsSync doesn't incorrectly return false. | ||
| 6 | + // (especially on Windows) | ||
| 7 | + // https://github.com/nodejs/node-v0.x-archive/issues/3739 | ||
| 8 | + | ||
| 4 | 9 | const assert = require('assert'); | |
| 5 | 10 | const fs = require('fs'); | |
| 6 | 11 | const path = require('path'); | |
| 7 | 12 | ||
| 8 | - const tmpdir = require('../common/tmpdir'); | ||
| 9 | - | ||
| 10 | 13 | let dir = path.resolve(tmpdir.path); | |
| 11 | 14 | ||
| 12 | 15 | // Make sure that the tmp directory is clean | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,9 +1,14 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | + | ||
| 3 | 4 | // This test is only relevant on Windows. | |
| 4 | 5 | if (!common.isWindows) | |
| 5 | 6 | common.skip('Windows specific test.'); | |
| 6 | 7 | ||
| 8 | + // This test ensures fs.realpathSync works on properly on Windows without | ||
| 9 | + // throwing ENOENT when the path involves a fileserver. | ||
| 10 | + // https://github.com/nodejs/node-v0.x-archive/issues/3542 | ||
| 11 | + | ||
| 7 | 12 | const assert = require('assert'); | |
| 8 | 13 | const fs = require('fs'); | |
| 9 | 14 | const path = require('path'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,15 +1,15 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | 3 | ||
| 4 | - // This test ensures that a http request callback is called | ||
| 5 | - // when the agent option is set | ||
| 6 | - // See https://github.com/nodejs/node-v0.x-archive/issues/1531 | ||
| 7 | - | ||
| 8 | 4 | if (!common.hasCrypto) | |
| 9 | 5 | common.skip('missing crypto'); | |
| 10 | 6 | ||
| 11 | 7 | const fixtures = require('../common/fixtures'); | |
| 12 | 8 | ||
| 9 | + // This test ensures that a http request callback is called when the agent | ||
| 10 | + // option is set. | ||
| 11 | + // See https://github.com/nodejs/node-v0.x-archive/issues/1531 | ||
| 12 | + | ||
| 13 | 13 | const https = require('https'); | |
| 14 | 14 | ||
| 15 | 15 | const options = { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,6 +21,11 @@ | |||
| 21 | 21 | ||
| 22 | 22 | 'use strict'; | |
| 23 | 23 | require('../common'); | |
| 24 | + | ||
| 25 | + // This test ensures that setting `process.domain` to `null` does not result in | ||
| 26 | + // node crashing with a segfault. | ||
| 27 | + // https://github.com/nodejs/node-v0.x-archive/issues/4256 | ||
| 28 | + | ||
| 24 | 29 | process.domain = null; | |
| 25 | 30 | setTimeout(function() { | |
| 26 | 31 | console.log('this console.log statement should not make node crash'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments