Skip to content

Commit

Permalink
Explicit touching.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Mar 6, 2015
1 parent 65a7e62 commit 4b1f4f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/java_integration/utilities/jar_glob_spec.rb
Expand Up @@ -106,6 +106,9 @@ def jar_entries(full_entries)
# This should delete the /glob_target and /glob_target/bar.txt entries
`zip -d #{jar_path} glob_target/bar.txt`

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

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

expect(after - before).to eq(-2)
Expand Down

0 comments on commit 4b1f4f4

Please sign in to comment.