diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-06 12:41:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-06 12:41:47 +0000 |
commit | f0722924fa6011aca106d195222feaf9875f17e5 (patch) | |
tree | 44603a40468cb3fa6be532936f065b93a79392b4 /test/io | |
parent | 7f17ce149a1b1840021c553c5cc24d65ea333e12 (diff) | |
download | ruby-f0722924fa6011aca106d195222feaf9875f17e5.tar.gz |
test_io_console.rb: wait
* test/io/console/test_io_console.rb (test_getpass): wait slave
thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/io')
-rw-r--r-- | test/io/console/test_io_console.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index dc489166e8..379921f337 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -189,9 +189,10 @@ class TestIO_Console < Test::Unit::TestCase } assert_equal("asdf", m.getpass("> ")) assert_equal("\n", s.readpartial(2)) + th.join } ensure - th.join + th.join rescue nil end def test_iflush |