mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_io_console.rb: fix of old CentOS5
* test/io/console/test_io_console.rb (test_winsize): on old CentOS5 window size seems unable to be set across a pty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4794ce55a5
commit
868700a7a6
1 changed files with 2 additions and 2 deletions
|
@ -239,9 +239,9 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do
|
|||
else
|
||||
assert_equal([80, 25], s.winsize = [80, 25])
|
||||
assert_equal([80, 25], s.winsize)
|
||||
assert_equal([80, 25], m.winsize)
|
||||
#assert_equal([80, 25], m.winsize)
|
||||
assert_equal([100, 40], m.winsize = [100, 40])
|
||||
assert_equal([100, 40], s.winsize)
|
||||
#assert_equal([100, 40], s.winsize)
|
||||
assert_equal([100, 40], m.winsize)
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue