test: fix test-process-kill-null.js for Windows#14099
Conversation
It's included in Git bash. From
|
|
I want this. |
There was a problem hiding this comment.
The recommended test is common.isWindows (assign const common on L23)
7b96888 to
310a19c
Compare
|
Pushed commit to address comments. |
PR-URL: nodejs#14099 Reviewed-By: Refael Ackermann <refack@gmail.com>
|
landed in 44483b6 |
|
@starkwang Running another windows CI: https://ci.nodejs.org/job/node-test-commit-windows-fanned/10278/ |
This reverts commit 44483b6. PR-URL: nodejs#14142 Fixes: nodejs#14141 Refs: nodejs#14099 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
|
@nodejs/platform-windows could the child.stdout.on('data', common.mustCall(function() {
process.kill(child.pid, 'SIGKILL');
} |
|
It probably means the child has exited before the kill was attempted. https://nodejs.org/dist/latest-v8.x/docs/api/child_process.html#child_process_child_kill_signal
|
The test-process-kill-null.js failed in Windows because
catcommand is invalid for Windows cmd.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
test