diff --git a/test/simple/test-domain-with-abort-on-uncaught-exception.js b/test/simple/test-domain-with-abort-on-uncaught-exception.js index 147540e4c3a686..6a7442ce103602 100644 --- a/test/simple/test-domain-with-abort-on-uncaught-exception.js +++ b/test/simple/test-domain-with-abort-on-uncaught-exception.js @@ -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