mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Just check that interruption doesn't cause SEGV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e18f3e85a8
commit
2a8ba4bd64
1 changed files with 1 additions and 3 deletions
|
@ -354,9 +354,7 @@ EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
assert_not_equal(nil, status.termsig, bug12576)
|
assert_not_equal("SEGV", Signal.signame(status.termsig || 0), bug12576)
|
||||||
assert_equal("INT", Signal.signame(status.termsig), bug12576)
|
|
||||||
assert_match(/Interrupt/, err, bug12576)
|
|
||||||
end unless /mswin|mingw/ =~ RUBY_PLATFORM
|
end unless /mswin|mingw/ =~ RUBY_PLATFORM
|
||||||
|
|
||||||
class Bug10557
|
class Bug10557
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue