ruby-changes:59083
From: Yusuke <ko1@a...>
Date: Thu, 5 Dec 2019 16:30:39 +0900 (JST)
Subject: [ruby-changes:59083] b40bb27e35 (master): test/io/console/test_io_console.rb: Try the hack for Solaris
https://git.ruby-lang.org/ruby.git/commit/?id=b40bb27e35 From b40bb27e3594bbc2e9c9ac00dfa5612ebae3151b Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> 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. diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index eb73514..1aff99a 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 https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L13 # 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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/