ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Murdoch <adammurd...@apache.org>
Subject Re: cvs commit: jakarta-ant-myrmidon/src/stylesheets build.xsl
Date Sat, 20 Apr 2002 08:59:18 GMT
On Sat, 20 Apr 2002 18:47, Darrell DeBoer wrote:
> On Thu, 18 Apr 2002 23:27, Adam Murdoch wrote:
> > Hi,
> >
> > This stuff is getting very close now.  It builds everything except for
> > the ant1 compat lib and the final distro (these are next on the list). 
> > The tests all pass now, except for a couple of framework tests, which are
>
> I'm getting this failure on the ZipFileSystem tests on Linux.
>
> ---------------------------------------------------------------------------
>- Testsuite: org.apache.aut.vfs.provider.zip.test.ZipFileSystemTestCase
> Tests run: 17, Failures: 2, Errors: 0, Time elapsed: 0.941 sec
>
> Testcase: testReuse took 0.321 sec
> 	FAILED
> same content length expected:<41> but was:<43>
> junit.framework.AssertionFailedError: same content length expected:<41> but
> was:<43>
> 	at junit.framework.Assert.fail(Assert.java:51)
> ---------------------------------------------------------------------------
>--
>
> I thought this was because the test files contain Windows line separators,
> and the test uses System.getProperty("line.separator"). However, the
> LocalFileSystem test is working fine, so I'm not sure. Also, "file1.txt"
> looks to contain the correct number of bytes (41), so I guess it's correct.
>
> Any ideas?

Yep.  The test zip files are checked into cvs now, rather than generated every 
time.  I built them on windows, so they'll be using the wrong line 
separators.  Might change that back to work how it used to.

Did you manage to build the distro ok?

-- 
Adam

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


Mime
View raw message