mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Enhance regrtest get_signal_name(): support shell exit code (#117647)
This commit is contained in:
parent
775912a51d
commit
ed785c0899
2 changed files with 9 additions and 0 deletions
|
@ -2291,6 +2291,7 @@ class TestUtils(unittest.TestCase):
|
|||
for exitcode, expected in (
|
||||
(-int(signal.SIGINT), 'SIGINT'),
|
||||
(-int(signal.SIGSEGV), 'SIGSEGV'),
|
||||
(128 + int(signal.SIGABRT), 'SIGABRT'),
|
||||
(3221225477, "STATUS_ACCESS_VIOLATION"),
|
||||
(0xC00000FD, "STATUS_STACK_OVERFLOW"),
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue