Author: kotkov
Date: Fri Aug 15 14:07:27 2014
New Revision: 1618177
URL: http://svn.apache.org/r1618177
Log:
Following up on r1618138, fix Ruby test failure.
* subversion/bindings/swig/ruby/test/test_ra.rb:
(test_uuid): With the introduction of the instance IDs, the string
representation of the 'db/uuid' contents does not really have to match
the result of the svn_ra_get_uuid2() calls. Fix the failure by entirely
avoiding the necessity to parse the 'db/uuid' file. This is nothing more
than a smoke test, so we might as well compare Svn::Ra::Session.uuid and
Svn::Fs::FileSystem.uuid.
Modified:
subversion/trunk/subversion/bindings/swig/ruby/test/test_ra.rb
Modified: subversion/trunk/subversion/bindings/swig/ruby/test/test_ra.rb
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/ruby/test/test_ra.rb?rev=1618177&r1=1618176&r2=1618177&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/ruby/test/test_ra.rb (original)
+++ subversion/trunk/subversion/bindings/swig/ruby/test/test_ra.rb Fri Aug 15
14:07:27 2014
@@ -38,8 +38,7 @@ class SvnRaTest < Test::Unit::TestCase
def test_uuid
Svn::Ra::Session.open(@repos_uri) do |session|
- assert_equal(File.read(File.join(@repos_path, "db", "uuid")).strip,
- session.uuid)
+ assert_equal(@repos.fs.uuid, session.uuid)
end
end