summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))