summaryrefslogtreecommitdiff
path: root/test/openssl/test_pair.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-28 15:06:39 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-28 15:06:39 +0000
commit971df741b97343ac86f850dab7f79e4508411aa9 (patch)
treee0d4b6fe19c83f254fd7d163bb5150519aac4966 /test/openssl/test_pair.rb
parenta7b1cfbb99631ed077133dc858a82bfeaf48959f (diff)
Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_pair.rb')
-rw-r--r--test/openssl/test_pair.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb
index c2ad735d2a..b9206daea9 100644
--- a/test/openssl/test_pair.rb
+++ b/test/openssl/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