Show leaked file descriptors only, without cwd, txt, and so on
This commit is contained in:
parent
3839a8fe79
commit
e724857f42
@ -112,7 +112,7 @@ class LeakChecker
|
||||
}
|
||||
unless fd_leaked.empty?
|
||||
unless @@try_lsof == false
|
||||
@@try_lsof |= system("lsof -p #$$", out: MiniTest::Unit.output)
|
||||
@@try_lsof |= system(*%W[lsof -a -d #{fd_leaked.minmax.uniq.join("-")} -p #$$], out: MiniTest::Unit.output)
|
||||
end
|
||||
end
|
||||
h.each {|fd, list|
|
||||
|
Loading…
x
Reference in New Issue
Block a user