summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_regrtest.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-04-08 17:16:43 (GMT)
committerGitHub <noreply@github.com>2024-04-08 17:16:43 (GMT)
commited785c08993467461711c56eb5e6f88331062cca (patch)
tree4015e4cc644228de919c41b5f6abb4855e130896 /Lib/test/test_regrtest.py
parent775912a51d6847b0e4fe415fa91f2e0b06a3c43c (diff)
downloadcpython-ed785c08993467461711c56eb5e6f88331062cca.zip
cpython-ed785c08993467461711c56eb5e6f88331062cca.tar.gz
cpython-ed785c08993467461711c56eb5e6f88331062cca.tar.bz2
Enhance regrtest get_signal_name(): support shell exit code (#117647)
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r--Lib/test/test_regrtest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index d222b38..809abd7 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -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"),
):