diff options
author | Sorah Fukumori <[email protected]> | 2024-01-01 19:58:32 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-01-01 10:58:35 +0000 |
commit | cd411778159618dd926614e0acd52ac5549a9408 (patch) | |
tree | d5041c3d6939985cd911b6b44fdb60868951ed7a /test/net | |
parent | 5c81fd68865bdfacbb3496bb077b9f8ce6e411fd (diff) |
[ruby/irb] test_recovery_sigint: Ensure precondition is met
(https://github.com/ruby/irb/pull/829)
* test_recovery_sigint: Ensure precondition is met
test_recovery_sigint depends on its process has SIG_DEF sigaction for
SIGINT. When its parent process set SIG_IGN which inherits to children,
then this test fails. This patch ensures this precondition met
regardless of inherited sigaction from its parent.
* Add test for restoration of other SIGINT handlers
Add another variant of test_recovery_sigint to ensure IRB to preserve
existing SIGINT handler other than SIG_DEF.
https://github.com/ruby/irb/commit/77ee59d026
Diffstat (limited to 'test/net')
0 files changed, 0 insertions, 0 deletions