[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: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-05-08 08:49:53 CEST

Hi,

2007/5/8, Joe Swatosh <joe.swatosh@gmail.com>:

> > > 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
>
>
> ??

That effects other tests. How about the attached patch?

Thanks,

--
kou


---------------------------------------------------------------------
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:50:04 2007

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