mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Debug-print tmpdir info
This commit is contained in:
parent
f48655d04d
commit
20bc038ea3
1 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,7 @@ describe "CVE-2018-6914 is resisted by" do
|
|||
end
|
||||
|
||||
@debug_print = ->(actual) {
|
||||
STDERR.puts({
|
||||
PP.pp({
|
||||
actual: actual,
|
||||
absolute: File.absolute_path(actual),
|
||||
dir: @dir,
|
||||
|
@ -26,7 +26,8 @@ describe "CVE-2018-6914 is resisted by" do
|
|||
tmpdir: @tmpdir,
|
||||
Dir_tmpdir: Dir.tmpdir,
|
||||
TMPDIR: ENV['TMPDIR'],
|
||||
})
|
||||
stat: File.stat(@tmpdir),
|
||||
}, STDERR)
|
||||
}
|
||||
|
||||
@dir << '/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue