diff options
author | Sorah Fukumori <her@sorah.jp> | 2024-01-01 19:58:32 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-01-01 10:58:35 +0000 |
commit | cd411778159618dd926614e0acd52ac5549a9408 (patch) | |
tree | d5041c3d6939985cd911b6b44fdb60868951ed7a /GPL | |
parent | 5c81fd68865bdfacbb3496bb077b9f8ce6e411fd (diff) | |
download | ruby-cd411778159618dd926614e0acd52ac5549a9408.tar.gz |
[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 'GPL')
0 files changed, 0 insertions, 0 deletions