diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/excludes/TestIO_Console.rb | 1 | ||||
-rw-r--r-- | test/io/console/test_io_console.rb | 1 |
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 0000000000..26780c01b1 --- /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 67d58fdebe..ba9063e1b3 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)) |