| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
There was a problem hiding this comment.
You could DRY this as const { SIGUSR2 } = process.binding('constants').os.signals. Minor thing though.
Sorry, something went wrong.
|
CI with the suggestion incorporated: https://ci.nodejs.org/job/node-test-pull-request/4445/ |
Sorry, something went wrong.
|
Related failures on Windows. |
Sorry, something went wrong.
|
It looks like child.status is 1 on Windows, and 0 elsewhere. Additionally, certain signals are not supported on Windows. Added detection of the exit code, and switched from SIGUSR2 to SIGKILL. CI: https://ci.nodejs.org/job/node-test-pull-request/4447/. The only failures are now unrelated. |
Sorry, something went wrong.
This commit adds a test for the killSignal option to spawnSync(), and the other sync child process functions by extension. PR-URL: nodejs#8960 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit adds a test for the killSignal option to spawnSync(), and the other sync child process functions by extension. PR-URL: #8960 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit adds a test for the killSignal option to spawnSync(), and the other sync child process functions by extension. PR-URL: #8960 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit adds a test for the killSignal option to spawnSync(), and the other sync child process functions by extension. PR-URL: #8960 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
test
Description of change
This commit adds a test for the killSignal option to spawnSync(), and the other sync child process functions by extension.
This was previously untested according to https://node-core-coverage.addaleax.net/