You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/10/31 02:33:47 UTC

svn commit: r1537364 - /subversion/trunk/subversion/tests/libsvn_repos/repos-test.c

Author: stefan2
Date: Thu Oct 31 01:33:46 2013
New Revision: 1537364

URL: http://svn.apache.org/r1537364
Log:
Follow-up to r1537358: Fix - hopefully - tests on Windows.

* subversion/tests/libsvn_repos/repos-test.c
  (test_config_pool): prepend drive letter with a root slash

Modified:
    subversion/trunk/subversion/tests/libsvn_repos/repos-test.c

Modified: subversion/trunk/subversion/tests/libsvn_repos/repos-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_repos/repos-test.c?rev=1537364&r1=1537363&r2=1537364&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_repos/repos-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_repos/repos-test.c Thu Oct 31 01:33:46 2013
@@ -3413,7 +3413,9 @@ test_config_pool(const svn_test_opts_t *
 
   /* create an in-repo config */
   SVN_ERR(svn_dirent_get_absolute(&repo_root_url, repo_name, pool));
-  repo_root_url = apr_pstrcat(pool, "file://", repo_root_url, SVN_VA_NULL);
+  repo_root_url = apr_pstrcat(pool, "file://",
+                              repo_root_url[0] == '/' ? "" : "/",
+                              repo_root_url, SVN_VA_NULL);
 
   SVN_ERR(svn_test__create_repos(&repos, repo_name, opts, pool));
   SVN_ERR(svn_fs_begin_txn2(&txn, svn_repos_fs(repos), 0, 0, pool));