Comment out a failing swig-rb test.
Issue 4805, "delta path editor binding broken for root path".
* subversion/bindings/swig/ruby/test/test_delta.rb
(test_path_driver): Comment out (as no XFail mechanism is available).
@@ -211,29 +211,32 @@ class SvnDeltaTest < Test::Unit::TestCase
assert_equal(target_text, data)
end
- def test_path_driver
- editor = Svn::Delta::BaseEditor.new
- sorted_paths = []
- callback = Proc.new do |parent_baton, path|
- sorted_paths << path
- end
-
- targets = [
- "/",
- "/file1",
- "/dir1",
- "/dir2/file2",
- "/dir2/dir3/file3",
- "/dir2/dir3/file4"
- ]
- 10.times do
- x = rand(targets.size)
- y = rand(targets.size)
- targets[x], targets[y] = targets[y], targets[x]
- end
- Svn::Delta.path_driver(editor, 0, targets, &callback)
- assert_equal(targets.sort, sorted_paths)
- end
+# Fails since r1852536: "delta path editor binding broken for root path"
+# https://issues.apache.org/jira/browse/SVN-4805
+#
+# def test_path_driver
+# editor = Svn::Delta::BaseEditor.new
+# sorted_paths = []
+# callback = Proc.new do |parent_baton, path|
+# sorted_paths << path
+# end
+#
+# targets = [
+# "/",
+# "/file1",
+# "/dir1",
+# "/dir2/file2",
+# "/dir2/dir3/file3",
+# "/dir2/dir3/file4"
+# ]
+# 10.times do
+# x = rand(targets.size)
+# y = rand(targets.size)
+# targets[x], targets[y] = targets[y], targets[x]
+# end
+# Svn::Delta.path_driver(editor, 0, targets, &callback)
+# assert_equal(targets.sort, sorted_paths)
+# end
def test_changed
dir = "changed_dir"
