summaryrefslogtreecommitdiffstats
path: root/test/test_pair.rb
diff options
context:
space:
mode:
authorakr <akr@ruby-lang.org>2014-05-28 15:06:39 +0000
committerakr <akr@ruby-lang.org>2014-05-28 15:06:39 +0000
commit535dca4b720781d2e55d0914fee8bb0624747d8f (patch)
treec6407653bf61c02a7e90e291faac9ee396f58084 /test/test_pair.rb
parenta0ed4389fd8ece8d3ef9cf729292e9025c8f0042 (diff)
downloadruby-openssl-history-535dca4b720781d2e55d0914fee8bb0624747d8f.tar.gz
Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pair.rb')
-rw-r--r--test/test_pair.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_pair.rb b/test/test_pair.rb
index c2ad735..b9206da 100644
--- a/test/test_pair.rb
+++ b/test/test_pair.rb
@@ -87,6 +87,7 @@ module OpenSSL::TestEOF1M
yield s1
ensure
th.join
+ s1.close
end
end
@@ -97,6 +98,7 @@ module OpenSSL::TestEOF2M
yield s2
ensure
th.join
+ s2.close
end
end