Test output normalization needs path-aware handling to avoid corrupting non-path strings.
The issue involves making test output normalization path-aware to prevent accidental string corruption when tests run from root directory. The fix is scoped to a specific test file and has maintainer approval. No major blockers exist beyond careful path handling.
v26.0.0-pre
Linux tumba 6.18.3-gentoo-yuran #1 SMP Sun Jan 4 21:50:21 +08 2026 x86_64 Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz GenuineIntel GNU/Linux
test
# cd /
# git clone --depth=1 https://github.com/nodejs/node.git
# cd node
# ./configure && make test-only
In realistic scenarios, cd / is implicit: for example, right after chroot or pivot_root into disposable environment.
Always.
All tests are expected to pass.
A bunch of failing tests. Assertions are failing with something like:
+ '(node:*) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https:*js.org*api*cli.html#cli_unhandled_rejections_mode). (rejection id: 1)\n'
- '(node:*) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https:*nodejs.org*api*cli.html#cli_unhandled_rejections_mode). (rejection id: 1)\n'
'Error: an error!\n' +
+ ' at functionD (*/test/fixtures/source-map*_modules/error-stack/enclosing-call-site.js:16:17)\n' +
+ ' at functionC (*/test/fixtures/source-map*_modules/error-stack/enclosing-call-site.js:10:3)\n' +
+ ' at functionB (*/test/fixtures/source-map*_modules/error-stack/enclosing-call-site.js:6:3)\n' +
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!