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:
parent
06d1660e69
commit
e373aed707
2 changed files with 1 additions and 1 deletions
1
test/excludes/TestIO_Console.rb
Normal file
1
test/excludes/TestIO_Console.rb
Normal file
|
@ -0,0 +1 @@
|
|||
exclude(:test_getpass, 'not portable')
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue