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

Re: Ruby bindings asserting on fspaths

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 08 Feb 2011 12:22:34 -0500

I'll look into these.

On 02/08/2011 11:36 AM, Philip Martin wrote:
> The buildbot is red:
>
> http://ci.apache.org/builders/svn-x64-ubuntu%20gcc/builds/1514/steps/Test%20bindings/logs/stdio
>
> The Ruby bindings are triggering the new fspath asserts. The problem occurs in
> test_report and test_report2 in:
>
> subversion/bindings/swig/ruby/test/test_repos.rb
>
> I can fix the asserts by doing
>
> Index: subversion/bindings/swig/ruby/test/test_repos.rb
> ===================================================================
> --- subversion/bindings/swig/ruby/test/test_repos.rb (revision 1068325)
> +++ subversion/bindings/swig/ruby/test/test_repos.rb (working copy)
> @@ -387,7 +387,7 @@
> def assert_report
> file = "file"
> file2 = "file2"
> - fs_base = "base"
> + fs_base = "/base"
> path = File.join(@wc_path, file)
> path2 = File.join(@wc_path, file2)
> source = "sample source"
> @@ -405,7 +405,7 @@
> :revision => rev,
> :user_name => @author,
> :fs_base => fs_base,
> - :target => "/",
> + :target => "",
> :target_path => nil,
> :editor => editor,
> :text_deltas => true,
>
> but although the tests now run they fail.
>

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-02-08 18:23:25 CET

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.