1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

TestIO_Console.rb: disable getpass test by --excludes

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-12-09 20:06:00 +00:00
parent 06d1660e69
commit e373aed707
2 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1 @@
exclude(:test_getpass, 'not portable')

View file

@ -181,7 +181,6 @@ class TestIO_Console < Test::Unit::TestCase
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))