[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 17:36:38 CEST

Hi kou,

On 5/7/07, Kouhei Sutou <kou@cozmixng.org> wrote:
> 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?
>

Are you sure that's the right patch? It modified and deleted many
tests. I knew my patch affected the other simple provider test, what
other tests did it impact?

--
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 17:36:54 2007

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