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

Ruby bindings asserting on fspaths

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 08 Feb 2011 16:36:55 +0000

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.

-- 
Philip
Received on 2011-02-08 17:37:51 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.