summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 11:53:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 11:53:52 +0000
commitac5c2218eed51d804e8446254d0de02f724e7a9d (patch)
tree18a63a6c48f1cbb8ed7cfaec0a1a16fad89eb019
parent040a83d83e3e56f71ca7002ed8330bb56ba36e08 (diff)
test_io_console.rb: skip
* test/io/console/test_io_console.rb (test_getpass): skip for the time being. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/io/console/test_io_console.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index ba9063e1b3..67d58fdebe 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -181,6 +181,7 @@ 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))