File tree Expand file tree Collapse file tree 6 files changed +31
-13
lines changed
Expand file tree Collapse file tree 6 files changed +31
-13
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22const 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+
39const assert = require ( 'assert' ) ;
410const cluster = require ( 'cluster' ) ;
511
Original file line number Diff line number Diff line change 11/* eslint-disable strict */
22require ( '../common' ) ;
3- const assert = require ( 'assert' ) ;
43
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' ) ;
109
1110function test ( ) {
1211
Original file line number Diff line number Diff line change 11'use strict' ;
2-
32const 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+
49const assert = require ( 'assert' ) ;
510const fs = require ( 'fs' ) ;
611const path = require ( 'path' ) ;
712
8- const tmpdir = require ( '../common/tmpdir' ) ;
9-
1013let dir = path . resolve ( tmpdir . path ) ;
1114
1215// Make sure that the tmp directory is clean
Original file line number Diff line number Diff line change 11'use strict' ;
22const common = require ( '../common' ) ;
3+
34// This test is only relevant on Windows.
45if ( ! common . isWindows )
56 common . skip ( 'Windows specific test.' ) ;
67
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+
712const assert = require ( 'assert' ) ;
813const fs = require ( 'fs' ) ;
914const path = require ( 'path' ) ;
Original file line number Diff line number Diff line change 11'use strict' ;
22const common = require ( '../common' ) ;
33
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-
84if ( ! common . hasCrypto )
95 common . skip ( 'missing crypto' ) ;
106
117const fixtures = require ( '../common/fixtures' ) ;
128
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+
1313const https = require ( 'https' ) ;
1414
1515const options = {
Original file line number Diff line number Diff line change 2121
2222'use strict' ;
2323require ( '../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+
2429process . domain = null ;
2530setTimeout ( function ( ) {
2631 console . log ( 'this console.log statement should not make node crash' ) ;
You can’t perform that action at this time.
0 commit comments