Skip to content

Commit db04ae6

Browse files
Ash Crippstargos
authored andcommitted
test: add SIGTRAP to test-signal-handler
Backport-PR-URL: #38051 Co-authored-by: BoHong Li <a60814billy@gmail.com> PR-URL: #36368 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
1 parent 7d247f1 commit db04ae6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/abort/test-signal-handler.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ if (process.argv[2] === 'child') {
1818
['--expose-internals',__filename,'child'],
1919
{stdio: 'inherit'});
2020
// 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}`);
21+
assert(child.signal==='SIGSEGV'||child.signal==='SIGILL'||
22+
child.signal==='SIGTRAP',`child.signal = ${child.signal}`);
2323
}

0 commit comments

Comments
 (0)