1
0
Fork 0
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:
Nobuyoshi Nakada 2019-11-09 21:58:55 +09:00
parent f48655d04d
commit 20bc038ea3
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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 << '/'