aboutsummaryrefslogtreecommitdiff
path: root/t/t9100-git-svn-basic.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t9100-git-svn-basic.sh')
-rwxr-xr-xt/t9100-git-svn-basic.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh
index 040da9275..af617486d 100755
--- a/t/t9100-git-svn-basic.sh
+++ b/t/t9100-git-svn-basic.sh
@@ -215,4 +215,15 @@ echo tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904 >> expected
test_expect_success "$name" "diff -u a expected"
+test_expect_failure 'exit if remote refs are ambigious' "
+ git-repo-config --add svn-remote.git-svn.fetch \
+ bar:refs/remotes/git-svn &&
+ git-svn migrate
+ "
+test_expect_failure 'exit if init-ing a would clobber a URL' "
+ git-repo-config --unset svn-remote.git-svn.fetch \
+ '^bar:refs/remotes/git-svn$' &&
+ git-svn init $svnrepo/bar
+ "
+
test_done