Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d247f1 commit db04ae6Copy full SHA for db04ae6
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