diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-11-09 21:58:55 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-11-09 21:59:07 +0900 |
commit | 20bc038ea31ee799103bb89068537ed4e4f699b4 (patch) | |
tree | 6a9d541cf4a7cfb272eb684a5840ae6ceaf6e35f /spec/ruby/security/cve_2018_6914_spec.rb | |
parent | f48655d04d463a89b7ac15bc3942ec6c574c6cd9 (diff) |
Debug-print tmpdir info
Diffstat (limited to 'spec/ruby/security/cve_2018_6914_spec.rb')
-rw-r--r-- | spec/ruby/security/cve_2018_6914_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/ruby/security/cve_2018_6914_spec.rb b/spec/ruby/security/cve_2018_6914_spec.rb index a478ac8619..ea99e57d32 100644 --- a/spec/ruby/security/cve_2018_6914_spec.rb +++ b/spec/ruby/security/cve_2018_6914_spec.rb @@ -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 << '/' |