subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1597893 - /subversion/trunk/subversion/bindings/swig/ruby/test/test_core.rb
Date Tue, 27 May 2014 22:28:42 GMT
Author: breser
Date: Tue May 27 22:28:41 2014
New Revision: 1597893

URL: http://svn.apache.org/r1597893
Log:
swig-rb: Followup to r1597885, setup_tmp needs to be done before other things.

Not sure why this didn't cause problems with setup_repository which is also
under the tmp_path.  But it broke the config tests after I moved config_path
into the tmp_path in r1597885.

* subversion/bindings/swig/ruby/test/test_core.rb
  (SVNCoreTest.setup): setup_tmp removes the tmp path and recreates it.
    setup_config creates the default config files.  So without reversing
    the order trying to read the config files fails.

Modified:
    subversion/trunk/subversion/bindings/swig/ruby/test/test_core.rb

Modified: subversion/trunk/subversion/bindings/swig/ruby/test/test_core.rb
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/ruby/test/test_core.rb?rev=1597893&r1=1597892&r2=1597893&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/ruby/test/test_core.rb (original)
+++ subversion/trunk/subversion/bindings/swig/ruby/test/test_core.rb Tue May 27 22:28:41 2014
@@ -33,9 +33,9 @@ class SvnCoreTest < Test::Unit::TestCase
     setup_default_variables
     @config_file = File.join(@config_path, Svn::Core::CONFIG_CATEGORY_CONFIG)
     @servers_file = File.join(@config_path, Svn::Core::CONFIG_CATEGORY_SERVERS)
+    setup_tmp
     setup_repository(@repos_path)
     setup_config
-    setup_tmp
   end
 
   def teardown



Mime
View raw message