node/test/sequential
Darshan Sen 0187bc5cdc
v8: make v8.writeHeapSnapshot() error codes consistent
This change makes the error codes returned by v8.writeHeapSnapshot()
consistent across all platforms by using the libuv APIs instead of
fopen(), fwrite() and fclose(). This also starts reporting potential
errors that might happen during the write operations.

Signed-off-by: Darshan Sen <raisinten@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/42577
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2022-04-05 14:55:51 +01:00
..
sequential.status test: exclude ibm i tests until we resolve 2022-02-01 18:19:25 -05:00
test-async-wrap-getasyncid.js quic: remove quic 2021-01-30 07:49:28 -08:00
test-buffer-creation-regression.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-child-process-emfile.js
test-child-process-execsync.js lib: add internal genericNodeError() function 2022-02-09 01:56:15 +00:00
test-child-process-exit.js test: adjust comments for upcoming lint rule 2020-10-07 04:36:02 -07:00
test-child-process-pass-fd.js test: remove checks for armv6 2021-07-04 19:56:07 -07:00
test-cli-syntax-bad.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-cli-syntax-file-not-found.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-cli-syntax-good.js lib: fix checking syntax of esm module 2021-12-19 23:33:34 +00:00
test-cli-syntax-require.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-cluster-inspect-brk.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cluster-net-listen-ipv6only-none.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cluster-net-listen-ipv6only-rr.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cluster-send-handle-large-payload.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cpu-prof-default.js
test-cpu-prof-dir-absolute.js
test-cpu-prof-dir-and-name.js
test-cpu-prof-dir-relative.js
test-cpu-prof-dir-worker.js
test-cpu-prof-drained.js
test-cpu-prof-exit.js
test-cpu-prof-invalid-options.js
test-cpu-prof-kill.js
test-cpu-prof-name.js
test-cpu-prof-worker-argv.js
test-crypto-timing-safe-equal.js crypto: refactoring internals, add WebCrypto 2020-10-07 17:27:05 -07:00
test-debug-prompt.js
test-debugger-auto-resume.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-backtrace.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-break.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-breakpoint-exists.js test: add test-debugger-breakpoint-exists 2021-08-01 14:24:36 +00:00
test-debugger-clear-breakpoints.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-custom-port.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-debug-brk.js
test-debugger-exceptions.js test: remove error allowance in debugger test 2022-01-25 01:38:05 +00:00
test-debugger-exec-scope.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-exec.js debugger: add debugger alias for exec(expr) 2022-02-17 19:23:20 +00:00
test-debugger-heap-profiler.js test: fix test-debugger-heap-profiler for workers 2021-08-09 10:11:56 +00:00
test-debugger-help.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-invalid-args.js test: move debugger test case to parallel 2021-07-09 17:04:07 -07:00
test-debugger-launch.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-low-level.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-pid.js tools,lib,test: enable ESLint no-regex-spaces rule 2022-01-13 17:12:05 -08:00
test-debugger-preserve-breaks.js test: remove workaround code in debugger test 2021-07-05 21:17:55 -07:00
test-debugger-profile.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-random-port-with-inspect-port.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-random-port.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-repeat-last.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-debugger-restart-message.js debugger: indicate server is ending 2021-07-12 06:29:01 -07:00
test-debugger-run-after-quit-restart.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-sb-before-load.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-scripts.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-use-strict.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-debugger-watchers.js test: replace "inspector-cli" with "debugger" 2021-06-28 06:26:02 -07:00
test-deprecation-flags.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-dgram-bind-shared-ports.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-dgram-implicit-bind-failure.js
test-dgram-pingpong.js
test-diagnostic-dir-cpu-prof.js src: allow setting a dir for all diagnostic output 2020-07-20 18:20:18 +02:00
test-diagnostic-dir-heap-prof.js test: avoid deep comparisons with literals 2021-11-02 10:11:49 +00:00
test-fs-stat-sync-overflow.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-fs-watch.js test: fix flaky sequential/test-fs-watch 2020-11-27 05:00:33 -08:00
test-gc-http-client-onerror.js test: move test-gc-http-client-onerror to sequential 2022-01-22 19:32:40 +00:00
test-gc-http-client.js test: simplify test-gc-http-client 2022-01-23 21:26:51 +01:00
test-heap-prof.js test: avoid deep comparisons with literals 2021-11-02 10:11:49 +00:00
test-heapdump-flag.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-heapdump.js v8: make v8.writeHeapSnapshot() error codes consistent 2022-04-05 14:55:51 +01:00
test-http2-large-file.js
test-http2-max-session-memory.js
test-http2-ping-flood.js
test-http2-settings-flood.js
test-http2-timeout-large-write-file.js
test-http2-timeout-large-write.js
test-http-econnrefused.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-http-keep-alive-large-write.js
test-http-keepalive-maxsockets.js
test-http-max-sockets.js
test-http-regr-gh-2928.js
test-http-server-keep-alive-timeout-slow-client-headers.js
test-http-server-keep-alive-timeout-slow-server.js
test-https-connect-localport.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-https-server-keep-alive-timeout.js
test-init.js test: add common.mustSucceed 2020-10-17 00:48:26 +02:00
test-inspector-async-call-stack-abort.js process: change default --unhandled-rejections=throw 2020-09-22 12:29:32 -07:00
test-inspector-async-call-stack.js
test-inspector-async-hook-setup-at-inspect-brk.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-async-hook-setup-at-signal.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-async-stack-traces-promise-then.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-async-stack-traces-set-interval.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-break-e.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-break-when-eval.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-console.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-contexts.js test: make sure that inspector tests finish 2020-04-08 16:43:13 +02:00
test-inspector-debug-brk-flag.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-debug-end.js test: make sure that inspector tests finish 2020-04-08 16:43:13 +02:00
test-inspector-enabled.js
test-inspector-exception.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-has-inspector-false.js
test-inspector-invalid-args.js
test-inspector-ip-detection.js test: make sure that inspector tests finish 2020-04-08 16:43:13 +02:00
test-inspector-not-blocked-on-idle.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-open.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-inspector-overwrite-config.js test: make sure that inspector tests finish 2020-04-08 16:43:13 +02:00
test-inspector-port-cluster.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-port-zero.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-inspector-resource-name-to-url.js test: make sure that inspector tests finish 2020-04-08 16:43:13 +02:00
test-inspector-runtime-evaluate-with-timeout.js test: make sure that inspector tests finish 2020-04-08 16:43:13 +02:00
test-inspector-scriptparsed-context.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-inspector-stop-profile-after-done.js test: make sure that inspector tests finish 2020-04-08 16:43:13 +02:00
test-inspector-stops-no-file.js
test-inspector-stress-http.js test: make sure that inspector tests finish 2020-04-08 16:43:13 +02:00
test-inspector.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-module-loading.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-net-better-error-messages-port.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-net-connect-econnrefused.js process: add getActiveResourcesInfo() 2021-12-14 14:09:08 +00:00
test-net-connect-handle-econnrefused.js
test-net-connect-local-error.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-net-GH-5504.js
test-net-listen-shared-ports.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-net-localport.js
test-net-reconnect-error.js
test-net-response-size.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-net-server-address.js
test-net-server-bind.js
test-next-tick-error-spin.js
test-perf-hooks.js perf_hooks: complete overhaul of the implementation 2021-02-22 08:46:11 -08:00
test-performance-eventloopdelay.js perf_hooks: fix loop delay resolution validation 2021-04-11 23:15:47 +02:00
test-pipe.js test: adjust comments for upcoming lint rule 2020-10-07 04:36:02 -07:00
test-process-title.js test: move test-process-title to sequential 2020-04-30 18:00:38 +03:00
test-process-warnings.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-repl-timeout-throw.js test: change var to let 2020-09-05 12:53:45 +02:00
test-require-cache-without-stat.js
test-resolution-inspect-brk.js
test-stream2-fs.js
test-stream2-stderr-sync.js test,doc,lib: adjust object literal newlines for lint rule 2021-01-26 16:49:18 -08:00
test-timers-block-eventloop.js
test-timers-set-interval-excludes-callback-duration.js
test-tls-connect.js
test-tls-lookup.js
test-tls-psk-client.js test: fix typographical error 2022-02-15 12:46:47 +00:00
test-tls-securepair-client.js tools,benchmark,lib,test: enable no-case-declarations lint rule 2022-01-05 07:42:19 -08:00
test-tls-session-timeout.js
test-util-debug.js util: add debug and debuglog.enabled 2020-08-10 12:09:43 -05:00
test-vm-timeout-escape-promise-module-2.js test: fix flaky test-vm-timeout-escape-promise-module-2 2021-03-22 09:47:05 -07:00
test-vm-timeout-rethrow.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-worker-eventlooputil.js test: move test-worker-eventlooputil to sequential 2020-11-12 20:26:49 +00:00
test-worker-prof.js test: fix flaky test-worker-prof 2021-02-20 10:40:49 -08:00
testcfg.py