aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-18 13:29:55 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-18 13:30:52 +0900
commitc147eeff7c2b8d4b8864c8be6496abf7f622a983 (patch)
tree455dc98c492fd8debe32c33e461878688c695f6a
parentf054f11a38f66af17a0aed8e0d2d46731eaab27d (diff)
downloadruby-c147eeff7c2b8d4b8864c8be6496abf7f622a983.tar.gz
[ruby/io-console] Skip Interrupt test on Linux
Hangs up only in ruby/ruby on Travis-CI. https://github.com/ruby/io-console/commit/de39aa6dd6
-rw-r--r--test/io/console/test_io_console.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index 219b84615e..d71e42603f 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -352,7 +352,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)
+ assert_ctrl("Interrupt", cc, r, w) unless /linux/ =~ RUBY_PLATFORM
end
if cc = ctrl["dsusp"]
assert_ctrl("#{cc.ord}", cc, r, w)