scm: cvs: fix unit lib test fails on Windows.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4808 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fe37f45cb5
commit
a88077a0bd
|
@ -5,6 +5,7 @@ begin
|
|||
class CvsAdapterTest < ActiveSupport::TestCase
|
||||
|
||||
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/cvs_repository'
|
||||
REPOSITORY_PATH.gsub!(/\//, "\\") if Redmine::Platform.mswin?
|
||||
MODULE_NAME = 'test'
|
||||
|
||||
if File.directory?(REPOSITORY_PATH)
|
||||
|
|
Loading…
Reference in New Issue