Skip to content

Commit

Permalink
Add Broken zip for EOCD failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
fchorney authored and fhs committed Jan 18, 2020
1 parent 2ad1c55 commit e930d39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ function fileequals(f, s)
read(f, String) == s
end

# test a zip file that contains multiple copies of the EOCD hex signature
# This test will fail
@test_broken ZipFile.Reader(joinpath(dirname(@__FILE__),"EOCD.zip"))

# test a zip file created using Info-Zip
dir = ZipFile.Reader(joinpath(dirname(@__FILE__), "infozip.zip"))
Expand Down

0 comments on commit e930d39

Please sign in to comment.