You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andrew Vaughan <aj...@netspace.net.au> on 2005/07/06 21:30:23 UTC

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

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

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

Posted by Eric West <er...@open-silicon.com>.
O ......................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
> 
Well yes I did run the test as root.  Assuming this problem goes away
when not root then it is probably not an issue.

-Eric



> Andrew V. 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org