git-svn: make multi-init capable of reusing the Ra connection
[gitweb.git] / t / t9103-git-svn-graft-branches.sh
index 183ae3b1c2f0511810c18418c109a2e1412fa8a8..8d946d2aa52135e55c196a42da113cecf1d3e506 100755 (executable)
@@ -26,6 +26,12 @@ test_expect_success 'initialize repo' "
        git-svn multi-fetch
        "
 
+test_expect_success 'multi-init set .git/config correctly' "
+       test '$svnrepo/trunk' = '`git repo-config --get svn.trunk`' &&
+       test '$svnrepo/branches' = '`git repo-config --get svn.branches`' &&
+       test '$svnrepo/tags' = '`git repo-config --get svn.tags`'
+       "
+
 r1=`git-rev-list remotes/trunk | tail -n1`
 r2=`git-rev-list remotes/tags/a | tail -n1`
 r3=`git-rev-list remotes/a | tail -n1`