[前][次][番号順一覧][スレッド一覧]

ruby-changes:45216

From: nobu <ko1@a...>
Date: Sun, 8 Jan 2017 13:04:35 +0900 (JST)
Subject: [ruby-changes:45216] nobu:r57289 (trunk): test_io_console.rb: fix of old CentOS5

nobu	2017-01-08 13:04:29 +0900 (Sun, 08 Jan 2017)

  New Revision: 57289

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57289

  Log:
    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.

  Modified files:
    trunk/test/io/console/test_io_console.rb
Index: test/io/console/test_io_console.rb
===================================================================
--- test/io/console/test_io_console.rb	(revision 57288)
+++ test/io/console/test_io_console.rb	(revision 57289)
@@ -239,9 +239,9 @@ defined?(PTY) and defined?(IO.console) a https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L239
       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
     }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]