[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-04-25 04:57:15 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...
>

Maybe. It looks similar enough the the simple auth test that it ought
to just work...

>
> > 2) Error:
> > test_hotcopy(SvnFsTest):
> >
> > 3) Error:
> > test_hotcopy_for_backward_compatibility(SvnFsTest):
>
> I fixed them in r24751.
>

Works here, but I like asserting the beginning state too....

Index: subversion/bindings/swig/ruby/test/test_fs.rb
===================================================================
--- subversion/bindings/swig/ruby/test/test_fs.rb (revision 24753)
+++ subversion/bindings/swig/ruby/test/test_fs.rb (working copy)
@@ -80,6 +80,10 @@
     FileUtils.mv(@fs.path, backup_path)
     FileUtils.mkdir_p(@fs.path)

+ assert_raises(Svn::Error::RaLocalReposOpenFailed) do
+ ctx.log_message(path, rev)
+ end
+
     yield(backup_path, @fs.path)
     assert_equal(log, ctx.log_message(path, rev))
   end

--
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 25 04:57:27 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.