mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Pass -w to lsof
This commit is contained in:
parent
7e6f7fbf9e
commit
8073cd4ffa
@ -112,7 +112,7 @@ class LeakChecker
|
||||
}
|
||||
unless fd_leaked.empty?
|
||||
unless @@try_lsof == false
|
||||
@@try_lsof |= system(*%W[lsof -a -d #{fd_leaked.minmax.uniq.join("-")} -p #$$], out: Test::Unit::Runner.output)
|
||||
@@try_lsof |= system(*%W[lsof -w -a -d #{fd_leaked.minmax.uniq.join("-")} -p #$$], out: Test::Unit::Runner.output)
|
||||
end
|
||||
end
|
||||
h.each {|fd, list|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user