diff options
Diffstat (limited to 'test/common/index.js')
-rw-r--r-- | test/common/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/common/index.js b/test/common/index.js index 9358f86f65..54742319d2 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -605,10 +605,10 @@ exports.nodeProcessAborted = function nodeProcessAborted(exitCode, signal) { // On Windows, 'aborts' are of 2 types, depending on the context: // (i) Forced access violation, if --abort-on-uncaught-exception is on // which corresponds to exit code 3221225477 (0xC0000005) - // (ii) raise(SIGABRT) or abort(), which lands up in CRT library calls - // which corresponds to exit code 3. + // (ii) Otherwise, _exit(134) which is called in place of abort() due to + // raising SIGABRT exiting with ambiguous exit code '3' by default if (exports.isWindows) - expectedExitCodes = [3221225477, 3]; + expectedExitCodes = [0xC0000005, 134]; // When using --abort-on-uncaught-exception, V8 will use // base::OS::Abort to terminate the process. |