child_process: validate options.shell and correctly enforce shell invocation in exec/execSync #55056
Annotations
2 errors and 1 notice
test-macOS:
test/parallel/test-child-process-exec-enforce-shell.js#L39
--- stderr ---
/Users/runner/work/node/node/test/parallel/test-child-process-exec-enforce-shell.js:39
assert.ok(ret.contains('should-be-passed-as-argument'));
^
TypeError: ret.contains is not a function
at Object.<anonymous> (/Users/runner/work/node/node/test/parallel/test-child-process-exec-enforce-shell.js:39:17)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:166:5)
at node:internal/main/run_main_module:30:49
Node.js v23.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-child-process-exec-enforce-shell.js
|
test-macOS
Process completed with exit code 2.
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|