зеркало из https://github.com/github/ruby.git
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.
This commit is contained in:
Родитель
fa1db8f938
Коммит
b40bb27e35
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче