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

Re: Ruby bindings test failures on Windows

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-05-08 08:31:43 CEST

Hi kou,

On 4/24/07, Kouhei Sutou <kou@cozmixng.org> wrote:
> Hi Joe,
>
> > D:\SVN\src-trunk\subversion\bindings\swig\ruby>ruby test\run-test.rb
> > Loaded suite .
> > Started
> > ..........................................................E.............................................................EE..........
> > ......................................................................
> > Finished in 945.926 seconds.
> >
> > 1) Error:
> > test_windows_simple_provider(SvnClientTest):
> > Svn::Error::RaNotAuthorized:
> > D:\SVN\src-trunk\subversion\libsvn_ra_svn\internal_auth.c:96 Can't get
> > password
> > D:/SVN/src-trunk/subversion/bindings/swig/ruby/svn/util.rb:86:in
> > `svn_client_cat2'
> > D:/SVN/src-trunk/subversion/bindings/swig/ruby/svn/util.rb:86:in `cat2'
> > D:/SVN/src-trunk/subversion/bindings/swig/ruby/svn/client.rb:326:in `cat'
> > D:/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:1720:in
> > `assert_simple_provider'
> > D:/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:1729:in
> > `test_windows_simple_provider'
>
> I don't know why the test is failed. Test case may be
> wrong...
>

how about:

Index: subversion/bindings/swig/ruby/test/test_client.rb
===================================================================
--- subversion/bindings/swig/ruby/test/test_client.rb (revision 24966)
+++ subversion/bindings/swig/ruby/test/test_client.rb (working copy)
@@ -1716,6 +1716,7 @@

     ctx = Svn::Client::Context.new
     setup_auth_baton(ctx.auth_baton)
+ ctx.auth_baton[Svn::Core::AUTH_PARAM_DEFAULT_PASSWORD] = @password
     ctx.send(method)
     assert_equal(normalize_line_break(src), ctx.cat(svnserve_uri))
   end

??

--
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 8 08:31:57 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.