Skip to content

Commit

Permalink
Add back debug logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Mar 6, 2015
1 parent 4b1f4f4 commit bc52e36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/java_integration/utilities/jar_glob_spec.rb
Expand Up @@ -100,12 +100,16 @@ def jar_entries(full_entries)

before = Dir.glob("#{jar_path}!/**/*").size

puts File.mtime(jar_path)

# Need to sleep a little bit to make sure that modified time is updated
sleep 2

# This should delete the /glob_target and /glob_target/bar.txt entries
`zip -d #{jar_path} glob_target/bar.txt`

puts File.mtime(jar_path)

# Explicitly touch the file in case mtime and zip don't agree
`touch #{jar_path}`

Expand Down

0 comments on commit bc52e36

Please sign in to comment.