Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix test-domain-with-abort-on-uncaught-exception.js on AIX #4008

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions test/simple/test-domain-with-abort-on-uncaught-exception.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,16 @@ if (process.argv[2] === 'child') {
// On some platforms with KSH being the default shell
// (like SmartOS), when a process aborts, KSH exits with an exit
// code that is greater than 256, and thus the exit code emitted
// with the 'exit' event is null and the signal is set to either
// SIGABRT or SIGILL.
// with the 'exit' event is null and the signal is set to
// SIGABRT, SIGILL, or SIGTRAP (depending on compiler).
if (process.platform === 'sunos') {
expectedExitCode = null;
expectedSignal = ['SIGABRT', 'SIGILL'];
}
if (process.platform === 'aix') {
expectedExitCode = null;
expectedSignal = ['SIGTRAP'];
}

// On Windows, v8's base::OS::Abort also triggers a debug breakpoint
// which makes the process exit with code -2147483645
Expand Down