aboutsummaryrefslogtreecommitdiffstats
path: root/test/io
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-08 04:04:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-08 04:04:29 +0000
commit868700a7a635038e91e866f25a2ca1d98ccaca0a (patch)
treea709f663c794d5d0a9bdcee368201f65736d3c65 /test/io
parent4794ce55a502fdc9692a2f8d32c27381672ac1d7 (diff)
downloadruby-868700a7a635038e91e866f25a2ca1d98ccaca0a.tar.gz
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
Diffstat (limited to 'test/io')
-rw-r--r--test/io/console/test_io_console.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index 581500dfd7..95917dd713 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -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
}