You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2012/03/08 17:43:58 UTC
svn commit: r1298465 -
/subversion/trunk/subversion/bindings/swig/ruby/test/util.rb
Author: hwright
Date: Thu Mar 8 16:43:57 2012
New Revision: 1298465
URL: http://svn.apache.org/viewvc?rev=1298465&view=rev
Log:
Cleanup after the swib-rb tests by not leaving empty directories in /tmp.
* subversion/bindings/swig/ruby/test/util.rb
(set_default_variables): Use the "standard" tmp path, so as to ensure it
is cleaned up later.
Modified:
subversion/trunk/subversion/bindings/swig/ruby/test/util.rb
Modified: subversion/trunk/subversion/bindings/swig/ruby/test/util.rb
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/ruby/test/util.rb?rev=1298465&r1=1298464&r2=1298465&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/ruby/test/util.rb (original)
+++ subversion/trunk/subversion/bindings/swig/ruby/test/util.rb Thu Mar 8 16:43:57 2012
@@ -41,14 +41,13 @@ module SvnTestUtil
@svnserve_host = "127.0.0.1"
@svnserve_ports = (64152..64282).collect{|x| x.to_s}
- @test_tmp_dir = Dir.mktmpdir
- @wc_path = File.join(@test_tmp_dir, "wc")
+ @tmp_path = Dir.mktmpdir
+ @wc_path = File.join(@tmp_path, "wc")
@full_wc_path = File.expand_path(@wc_path)
- @repos_path = File.join(@test_tmp_dir, "repos")
+ @repos_path = File.join(@tmp_path, "repos")
@full_repos_path = File.expand_path(@repos_path)
@repos_uri = "file://#{@full_repos_path.sub(/^\/?/, '/')}"
- @tmp_path = "tmp"
@config_path = "config"
@greek = Greek.new(@tmp_path, @wc_path, @repos_uri)
end