ruby-changes:40936
From: nobu <ko1@a...>
Date: Thu, 10 Dec 2015 05:06:17 +0900 (JST)
Subject: [ruby-changes:40936] nobu:r53015 (trunk): TestIO_Console.rb: disable getpass test by --excludes
nobu 2015-12-10 05:06:00 +0900 (Thu, 10 Dec 2015) New Revision: 53015 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53015 Log: TestIO_Console.rb: disable getpass test by --excludes Added files: trunk/test/excludes/TestIO_Console.rb Modified files: trunk/test/io/console/test_io_console.rb Index: test/excludes/TestIO_Console.rb =================================================================== --- test/excludes/TestIO_Console.rb (revision 0) +++ test/excludes/TestIO_Console.rb (revision 53015) @@ -0,0 +1 @@ +exclude(:test_getpass, 'not portable') Property changes on: test/excludes/TestIO_Console.rb ___________________________________________________________________ Added: svn:eol-style + LF Index: test/io/console/test_io_console.rb =================================================================== --- test/io/console/test_io_console.rb (revision 53014) +++ test/io/console/test_io_console.rb (revision 53015) @@ -181,7 +181,6 @@ class TestIO_Console < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L181 end def test_getpass - skip unless /\bIO\#getpass\b/ =~ ENV["RUBY_TESTS"] skip unless IO.method_defined?("getpass") run_pty("p IO.console.getpass('> ')") do |r, w| assert_equal("> ", r.readpartial(10)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/