node/test/sequential
Joyee Cheung e8d9065262
sea: support sea.getRawAsset()
This patch adds support for `sea.getRawAsset()` which is
similar to `sea.getAsset()` but returns the raw asset
in an array buffer without copying. Users should avoid
writing to the returned array buffer. If the injected
section is not marked as writable or not aligned,
writing to the raw asset is likely to result in a crash.

PR-URL: https://github.com/nodejs/node/pull/50960
Refs: https://github.com/nodejs/single-executable/issues/68
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
2024-02-15 12:06:44 +01:00
..
sequential.status sea: support sea.getRawAsset() 2024-02-15 12:06:44 +01:00
test-async-wrap-getasyncid.js async_hooks,inspector: implement inspector api without async_wrap 2024-02-15 12:05:51 +01:00
test-buffer-creation-regression.js
test-child-process-emfile.js
test-child-process-execsync.js test: raise sleep times in child process tests 2022-08-25 07:56:40 +00:00
test-child-process-exit.js
test-child-process-pass-fd.js test: only skip slow tests on Raspberry Pi devices 2022-04-12 14:19:36 -04:00
test-cli-syntax-bad.js
test-cli-syntax-file-not-found.js
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: show more info on failure in test-cli-syntax-require.js 2023-09-12 17:02:51 +00:00
test-cluster-inspect-brk.js
test-cluster-net-listen-ipv6only-none.js
test-cluster-net-listen-ipv6only-rr.js
test-cluster-send-handle-large-payload.js
test-cpu-prof-default.js
test-cpu-prof-dir-absolute.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-dir-and-name.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-dir-relative.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-dir-worker.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-drained.js
test-cpu-prof-exit.js
test-cpu-prof-invalid-options.js src: fix c++ exception on bad command line arg 2023-01-22 10:39:16 +00:00
test-cpu-prof-kill.js
test-cpu-prof-name.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-cpu-prof-worker-argv.js
test-crypto-timing-safe-equal.js doc,test: clarify timingSafeEqual semantics 2022-06-21 12:43:09 +01:00
test-debug-prompt.js
test-debugger-custom-port.js test: modify test-debugger-custom-port.js to use async-await 2022-09-27 19:35:41 +00:00
test-debugger-debug-brk.js
test-debugger-invalid-args.js lib,src: update exit codes as per todos 2023-02-26 17:03:06 +00:00
test-debugger-launch.mjs test: use --port=0 in debugger tests that do not have to work on 9229 2023-04-05 00:49:44 +02:00
test-debugger-pid.js test: convert test-debugger-pid to async/await 2022-11-01 05:45:47 +00:00
test-deprecation-flags.js
test-dgram-bind-shared-ports.js
test-dgram-implicit-bind-failure.js
test-dgram-pingpong.js
test-diagnostic-dir-cpu-prof.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-diagnostic-dir-heap-prof.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-fs-opendir-recursive.js fs: fix readdir and opendir recursive with unknown file types 2023-09-11 19:08:08 +00:00
test-fs-readdir-recursive.js fs: fix readdir and opendir recursive with unknown file types 2023-09-11 19:08:08 +00:00
test-fs-stat-sync-overflow.js test: use spawn and spawnPromisified instead of exec 2023-08-05 07:29:53 +00:00
test-fs-watch.js fs: add recursive watch to linux 2022-10-31 23:15:45 +00:00
test-gc-http-client-onerror.js test: use os.availableParallelism() 2023-01-11 20:07:56 +00:00
test-gc-http-client-timeout.js test: refactor test-gc-http-client-timeout 2023-06-06 15:42:42 +00:00
test-gc-http-client.js test: use os.availableParallelism() 2023-01-11 20:07:56 +00:00
test-get-heapsnapshot-options.js lib: add options to the heap snapshot APIs 2022-11-08 16:19:54 +01:00
test-heapdump-flag-custom-dir.js process: add custom dir support for heapsnapshot-signal 2023-09-05 15:13:01 -07:00
test-heapdump-flag.js
test-heapdump.js lib: add options to the heap snapshot APIs 2022-11-08 16:19:54 +01:00
test-http-econnrefused.js net: enable autoSelectFamily by default 2023-04-05 08:31:56 -07: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: reduce the number of requests and parsers 2023-10-23 08:19:39 +02:00
test-http-server-keep-alive-timeout-slow-client-headers.js
test-http-server-keep-alive-timeout-slow-server.js
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: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-http2-timeout-large-write.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-inspector-open-dispose.mjs test: stabilize the inspector-open-dispose test 2023-08-11 13:05:01 +00:00
test-inspector-port-cluster.js
test-module-loading.js module: harmonize error code between ESM and CJS 2023-07-04 09:52:56 +00:00
test-net-better-error-messages-port.js net: enable autoSelectFamily by default 2023-04-05 08:31:56 -07:00
test-net-connect-econnrefused.js net: enable autoSelectFamily by default 2023-04-05 08:31:56 -07:00
test-net-connect-handle-econnrefused.js net: remove redundant connecting assignment 2022-07-09 17:10:16 +01:00
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
test-net-localport.js
test-net-reconnect-error.js net: enable autoSelectFamily by default 2023-04-05 08:31:56 -07:00
test-net-response-size.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-net-server-address.js dns: accept 'IPv4' and 'IPv6' for family 2022-06-15 18:02:01 -04:00
test-net-server-bind.js dns: accept 'IPv4' and 'IPv6' for family 2022-06-15 18:02:01 -04:00
test-next-tick-error-spin.js
test-perf-hooks.js test: deflake test-perf-hooks.js 2023-09-29 18:14:01 +02:00
test-performance-eventloopdelay.js lib: refactor to use min/max of validateNumber 2023-02-03 21:12:05 +00:00
test-pipe.js
test-process-title.js
test-process-warnings.js
test-repl-timeout-throw.js
test-require-cache-without-stat.js
test-resolution-inspect-brk.js
test-runner-run-inspect.mjs test_runner: support using --inspect with --test 2022-09-10 17:01:42 +00:00
test-single-executable-application-assets-raw.js sea: support sea.getRawAsset() 2024-02-15 12:06:44 +01:00
test-single-executable-application-assets.js sea: support embedding assets 2024-02-15 12:06:44 +01:00
test-single-executable-application-disable-experimental-sea-warning.js test: log more information in SEA tests 2023-12-04 11:15:02 +01:00
test-single-executable-application-empty.js test: log more information in SEA tests 2023-12-04 11:15:02 +01:00
test-single-executable-application-snapshot-and-code-cache.js test: log more information in SEA tests 2023-12-04 11:15:02 +01:00
test-single-executable-application-snapshot.js test: log more information in SEA tests 2023-12-04 11:15:02 +01:00
test-single-executable-application-use-code-cache.js test: log more information in SEA tests 2023-12-04 11:15:02 +01:00
test-single-executable-application.js test: log more information in SEA tests 2023-12-04 11:15:02 +01:00
test-stream2-fs.js
test-stream2-stderr-sync.js
test-timers-block-eventloop.js
test-timers-set-interval-excludes-callback-duration.js
test-tls-connect.js
test-tls-lookup.js test: remove unnecessary noop function args to mustCall() 2022-10-18 12:13:41 +00:00
test-tls-psk-client.js test: fallback to IPv4 if IPv6 is unavailable 2023-03-11 06:26:25 +00:00
test-tls-securepair-client.js test: fallback to IPv4 if IPv6 is unavailable 2023-03-11 06:26:25 +00:00
test-tls-session-timeout.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-util-debug.js
test-vm-break-on-sigint.js test: move test-vm-break-on-sigint to sequential 2022-08-07 12:26:59 +00:00
test-vm-timeout-escape-promise-module-2.js test: ensure never settling promises are detected 2023-11-11 20:37:42 +01:00
test-vm-timeout-rethrow.js
test-watch-mode-inspect.mjs test: fix flaky test-watch-mode-inspect 2023-04-04 16:53:32 -07:00
test-watch-mode.mjs watch: fix infinite loop when passing --watch=true flag 2024-01-02 15:05:22 -03:00
test-worker-eventlooputil.js perf_hooks: fix webperf idlharness 2022-10-04 00:55:58 +08:00
test-worker-fshandles-error-on-termination.js test: move tests with many workers to sequential 2022-08-07 12:44:33 +00:00
test-worker-fshandles-open-close-on-termination.js test: move tests with many workers to sequential 2022-08-07 12:44:33 +00:00
test-worker-heapsnapshot-options.js lib: add options to the heap snapshot APIs 2022-11-08 16:19:54 +01:00
test-worker-prof.js test: make test-worker-prof more robust 2023-09-04 21:53:59 +00:00
test-write-heapsnapshot-options.js lib: add options to the heap snapshot APIs 2022-11-08 16:19:54 +01:00
testcfg.py