[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

javahl test failure (was: potential issue with javahl on EM64T/ GNU/Linux)

From: Andrew Vaughan <ajv-lists_at_netspace.net.au>
Date: 2005-07-06 23:30:23 CEST

Hi Eric

On Wed, 6 Jul 2005 05:28 am, Eric West wrote:
> On a 32-bit pentium-4 system running redhat linux
> I run 'make check-javahl' and it passes. But on an EM64T system running
> SusE Linux and latest release of java amd64 SDK I get the following
> failure for make check-javahl:
>
> sky5 local/subversion-1.2.0# make check-javahl
> /usr/local/java/bin/java
> -Djava.library.path=subversion/bindings/java/javahl/native/.libs:/usr/local
>/lib -classpath
> subversion/bindings/java/javahl/classes:/usr/local/junit/junit.jar:
> /usr/local/java/jre/lib:/usr/local/java/jre/lib/charsets.jar:/usr
> /local/java/jre/lib/jce.jar:/usr/local/java/jre/lib/jsse.jar:/usr/local/jav
>a/jre/lib/rt.jar org.tigris.subversion.javahl.tests.BasicTests
> ......................F.
> Time: 63.592
> There was 1 failure:
> 1)
> testBasicLocking(org.tigris.subversion.javahl.tests.BasicTests)junit.framew
>ork.AssertionFailedError: file should be read only now expected:<false> but
> was:<true>
> at
> org.tigris.subversion.javahl.tests.BasicTests.testBasicLocking(BasicTests.j
>ava:1326) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at
> org.tigris.subversion.javahl.tests.BasicTests.main(BasicTests.java:67)
>

I've seen that error before. If I run the tests as root, or using fakeroot,
that test fails every time. Since the tests pass when run as normal user,
I'm guessing that the test is somehow broken by superuser privileges.
However I haven't got round to investigating why its failing.

Hope this helps

Andrew V.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 6 23:32:22 2005

This is an archived mail posted to the Subversion Users mailing list.