summaryrefslogtreecommitdiff
path: root/test/io
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-12-05 15:38:29 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-12-05 15:53:29 +0900
commitb40bb27e3594bbc2e9c9ac00dfa5612ebae3151b (patch)
tree05bb1933f44d17e587d4a3aa7bac3ca847bd5126 /test/io
parentfa1db8f938c083ce1416f999fe8b3cf33f9f18f1 (diff)
test/io/console/test_io_console.rb: Try the hack for Solaris
I'm not entirely sure why, but test_set_winsize_console gets stuck on Solaris (and if I recall, macOS). I found a hack for FreeBSD, so I want to give it a try on Solaris too.
Diffstat (limited to 'test/io')
-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 eb73514e43..1aff99aa03 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -13,7 +13,7 @@ class TestIO_Console < Test::Unit::TestCase
# FreeBSD seems to hang on TTOU when running parallel tests
# tested on FreeBSD 11.x
def set_winsize_setup
- @old_ttou = trap(:TTOU, 'IGNORE') if RUBY_PLATFORM =~ /freebsd/i
+ @old_ttou = trap(:TTOU, 'IGNORE') if RUBY_PLATFORM =~ /freebsd|solaris/i
end
def set_winsize_teardown