summaryrefslogtreecommitdiff
path: root/subversion/bindings/swig/ruby/test/util.rb
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/bindings/swig/ruby/test/util.rb')
-rw-r--r--subversion/bindings/swig/ruby/test/util.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/subversion/bindings/swig/ruby/test/util.rb b/subversion/bindings/swig/ruby/test/util.rb
index ee1a7ac..06ae7ba 100644
--- a/subversion/bindings/swig/ruby/test/util.rb
+++ b/subversion/bindings/swig/ruby/test/util.rb
@@ -1,4 +1,4 @@
-# ====================================================================
+# ====================================================================
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
@@ -79,10 +79,11 @@ module SvnTestUtil
@wc_path = File.join(@tmp_path, "wc")
@import_path = File.join(@tmp_path, "import")
@repos_path = File.join(@tmp_path, "repos")
+ @svnserve_pid_file = File.join(@tmp_path, "svnserve.pid")
@full_repos_path = File.expand_path(@repos_path)
@repos_uri = "file://#{@full_repos_path.sub(/^\/?/, '/')}"
- @config_path = "config"
+ @config_path = File.join(@tmp_path, "config")
@greek = Greek.new(@tmp_path, @import_path, @wc_path, @repos_uri)
end
@@ -90,7 +91,7 @@ module SvnTestUtil
@need_svnserve = need_svnserve
setup_default_variables
setup_tmp
- setup_tmp(@import_path)
+ setup_tmp(@import_path)
setup_repository
add_hooks
setup_svnserve if @need_svnserve
@@ -233,6 +234,7 @@ realm = #{@realm}
cred.username = @author
cred.may_save = false
end
+ ctx.config = Svn::Core::Config.config(@config_path)
setup_auth_baton(ctx.auth_baton)
return ctx unless block_given?
begin