1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/io-console] Skip Interrupt test on Solaris too

https://github.com/ruby/io-console/commit/48db3616da
This commit is contained in:
Nobuyoshi Nakada 2021-10-11 10:47:51 +09:00
parent e0c20485db
commit b9f7286fe9
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -375,7 +375,7 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do
if cc = ctrl["intr"]
assert_ctrl("#{cc.ord}", cc, r, w)
assert_ctrl("#{cc.ord}", cc, r, w)
assert_ctrl("Interrupt", cc, r, w) unless /linux/ =~ RUBY_PLATFORM
assert_ctrl("Interrupt", cc, r, w) unless /linux|solaris/ =~ RUBY_PLATFORM
end
if cc = ctrl["dsusp"]
assert_ctrl("#{cc.ord}", cc, r, w)