On 2011-07-26, Ted Dunning wrote:
> On Tue, Jul 26, 2011 at 5:31 AM, Stefan Bodewig <bode...@apache.org> wrote:

>>> Perhaps the large test files could be generated on the fly if absent
>>> in the user's temp directory?

>> This would require 5 GB of disk space in temp and a working ZIP64
>> implementation to create the archives.  Disk space is likely not that
>> big a problem anymore, but still it seems excessive.

> Generating these files is an excellent test in itself.  Just generate them
> and check the md5 to verify they are correct.  Then use them.

Oh, absolutely, no question.

But (1) we are not there, yet (ZipArchiveInpuStream can read ZIP64 - did
I say that? - but we have no way to write them, yet) and (2) it will not
be sufficient.  Compress really is a jungle of dialects for almost all
supported formats and we need to do interop tests.

An archive created by InfoZIP is different from one created by PKZIP
which is different from Windows Compressed folders ... you get the idea.
If Compress' output matched that of InfoZIP it still wouldn't show that
we are able to read PKZIP created archives.

In the end I expect our corpus of test archives to grow as interop
problems are discovered.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to