summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 20:06:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 20:06:00 +0000
commite373aed7071367491cf29d2e9c00bedd3ef115a3 (patch)
tree6dbee46350ecc85c32a91f92f692e34441e5cb54 /test
parent06d1660e690c78ceb4a46117d11a3afae7240205 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/excludes/TestIO_Console.rb1
-rw-r--r--test/io/console/test_io_console.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/test/excludes/TestIO_Console.rb b/test/excludes/TestIO_Console.rb
new file mode 100644
index 00000000000..26780c01b12
--- /dev/null
+++ b/test/excludes/TestIO_Console.rb
@@ -0,0 +1 @@
+exclude(:test_getpass, 'not portable')
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index 67d58fdebeb..ba9063e1b33 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -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))