ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41596] - ant 1.7 bzip2 task creates corrupted output file for some inputs
Date Mon, 30 Apr 2007 05:53:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41596>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41596





------- Additional Comments From mkoch@rowa.de  2007-04-29 22:53 -------
(In reply to comment #6)
> So is it the content of your specific file, or might it be possible to create a
> buildfile or other program capable of -producing- a file that would show the
> same problems?

I tried at first to set up a script which creates files with random data of
increasing length to generate a smaller testcase, but the script ran very slow
(mainly because of /dev/random taking long to generate random data). I am also
not sure how the bzip2 algorithm behaves on pseudorandom data and if the error
will be triggered at all.

I think that to create a testcase, knowledge of the algorithms used is needed to
generate testcases for the boundary conditions; in other words you already need
to have a good idea what the error might be to write a testcase for it (and I
have no understanding of how bzip2 works).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message