We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 166aa8a commit d3d1f33Copy full SHA for d3d1f33
test/abort/test-signal-handler.js
@@ -18,6 +18,6 @@ if (process.argv[2] === 'child') {
18
['--expose-internals', __filename, 'child'],
19
{ stdio: 'inherit' });
20
// FreeBSD and macOS use SIGILL for the kind of crash we're causing here.
21
- assert(child.signal === 'SIGSEGV' || child.signal === 'SIGILL',
22
- `child.signal = ${child.signal}`);
+ assert(child.signal === 'SIGSEGV' || child.signal === 'SIGILL' ||
+ child.signal === 'SIGTRAP', `child.signal = ${child.signal}`);
23
}
0 commit comments