Skip to content

Commit

Permalink
chore(node): update node test suite to 18.12.0 (LTS) (#2814)
Browse files Browse the repository at this point in the history
parallel/test-stream-writable-callback-twice.js was removed in
Node in nodejs/node#44313, so it is
removed here as well.
  • Loading branch information
cjihrig authored Oct 26, 2022
1 parent d33127d commit 176495f
Show file tree
Hide file tree
Showing 561 changed files with 571 additions and 586 deletions.
3 changes: 1 addition & 2 deletions node/_tools/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"nodeVersion": "18.8.0",
"nodeVersion": "18.12.0",
"ignore": {
"common": ["index.js", "tmpdir.js"],
"fixtures": [
Expand Down Expand Up @@ -599,7 +599,6 @@
"test-stream-unpipe-event.js",
"test-stream-unshift-empty-chunk.js",
"test-stream-unshift-read-race.js",
"test-stream-writable-callback-twice.js",
"test-stream-writable-change-default-encoding.js",
"test-stream-writable-clear-buffer.js",
"test-stream-writable-constructor-set-methods.js",
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/common/countdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/common/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/common/duplexpair.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/common/fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/common/hijackstdio.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
5 changes: 4 additions & 1 deletion node/_tools/test/common/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

import { createRequire } from 'module';
Expand Down Expand Up @@ -59,6 +59,8 @@ const {
spawnPromisified,
} = common;

const getPort = () => common.PORT;

export {
isMainThread,
isWindows,
Expand Down Expand Up @@ -107,4 +109,5 @@ export {
runWithInvalidFD,
createRequire,
spawnPromisified,
getPort,
};
2 changes: 1 addition & 1 deletion node/_tools/test/common/internet.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/fixtures/a.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

// Copyright Joyent, Inc. and other Node contributors.
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/fixtures/echo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

// Copyright Joyent, Inc. and other Node contributors.
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/fixtures/exit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

// Copyright Joyent, Inc. and other Node contributors.
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/fixtures/loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

var t = 1;
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/internet/test-dgram-connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/internet/test-dns-idna2008.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/internet/test-dns-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/internet/test-dns-promises-resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/internet/test-dns-regress-6244.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

// Copyright Joyent, Inc. and other Node contributors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-assert-async.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-assert-fail.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-btoa-atob.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-ascii.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

// Copyright Joyent, Inc. and other Node contributors.
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-badhex.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-bigint64.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-compare-offset.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

// Copyright Joyent, Inc. and other Node contributors.
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-equals.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-fakes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-inheritance.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-isencoding.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-iterator.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-new.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-nopendingdep-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

// Flags: --no-warnings --pending-deprecation
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-of-no-deprecation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-over-max-length.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-parent-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-read.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion node/_tools/test/parallel/test-buffer-readdouble.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// deno-lint-ignore-file

// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// Taken from Node 18.8.0
// Taken from Node 18.12.0
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually

'use strict';
Expand Down
Loading

0 comments on commit 176495f

Please sign in to comment.