From b40bb27e3594bbc2e9c9ac00dfa5612ebae3151b Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Thu, 5 Dec 2019 15:38:29 +0900 Subject: 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. --- test/io/console/test_io_console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3