summaryrefslogtreecommitdiff
path: root/test/lib/leakchecker.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-04 15:54:04 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-04 15:54:04 +0000
commitd03315d84a0ac639f80b5c0d499c1c662be66c55 (patch)
tree8ec01d9e0742cbf5c2fc871d327eba12dd8c36b0 /test/lib/leakchecker.rb
parentf20d51b0adb640c9351b3025e6dda7843c3342aa (diff)
* configure.in (dirfd): Check function.
* dir.c (dir_fileno): New method. [ruby-dev:48265] [Feature #9880] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/leakchecker.rb')
-rw-r--r--test/lib/leakchecker.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lib/leakchecker.rb b/test/lib/leakchecker.rb
index 599141d..b6ed19e 100644
--- a/test/lib/leakchecker.rb
+++ b/test/lib/leakchecker.rb
@@ -15,7 +15,6 @@ class LeakChecker
def find_fds
fd_dir = "/proc/self/fd"
if File.directory?(fd_dir)
- require "-test-/dir"
fds = Dir.open(fd_dir) {|d|
a = d.grep(/\A\d+\z/, &:to_i)
if d.respond_to? :fileno