diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-24 03:01:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-24 03:01:59 +0000 |
commit | 269b568291cd0ab7cd4015c0dbe64602bc264370 (patch) | |
tree | 70ff47617efe7ba549180c985e2fc0b8d142edb6 /test/test_weakref.rb | |
parent | 971d74a22549b86422d4a7c780fcdfd21a69072d (diff) | |
download | ruby-269b568291cd0ab7cd4015c0dbe64602bc264370.tar.gz |
test_fileutils.rb: fix deadlock
* test/fileutils/test_fileutils.rb (assert_output_lines): ensure
that write pipe is closed, not the reader thread to deadlock
when an exception raised in the given block.
[ruby-core:78053] [Bug #12910]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_weakref.rb')
0 files changed, 0 insertions, 0 deletions