summaryrefslogtreecommitdiff
path: root/test/lib/leakchecker.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-01 14:12:11 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-01 14:12:11 +0000
commit3ec72f078c207f53348809d304ba37ba5f915629 (patch)
tree5ce4b0d283cf6b75ea34bad53738acedb600ac6f /test/lib/leakchecker.rb
parentf4b417eb43468630cf4591c1768bc0c3b1378bcd (diff)
* test/openssl/utils.rb (start_server): Don't close sockets before
threads finished. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/leakchecker.rb')
-rw-r--r--test/lib/leakchecker.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/leakchecker.rb b/test/lib/leakchecker.rb
index b6ed19e..5d05c1e 100644
--- a/test/lib/leakchecker.rb
+++ b/test/lib/leakchecker.rb
@@ -66,6 +66,7 @@ class LeakChecker
end
puts "Leaked file descriptor: #{test_name}: #{fd}#{str}"
}
+ #system("lsof -p #$$") if !fd_leaked.empty?
h.each {|fd, list|
next if list.length <= 1
if 1 < list.count {|io, autoclose, inspect| autoclose }