aboutsummaryrefslogtreecommitdiff
path: root/t/t9104-git-svn-follow-parent.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-01-25 10:52:36 -0800
committerEric Wong <normalperson@yhbt.net>2007-02-23 00:57:10 -0800
commit1492b4245ad735e74f226bd796dc85de4f843739 (patch)
tree34de3de355cdef291c21f33257b554f3dd640179 /t/t9104-git-svn-follow-parent.sh
parentef3cfaad19f2587ea4ff7d46574d9118f8d9555e (diff)
downloadgit-1492b4245ad735e74f226bd796dc85de4f843739.tar.gz
git-1492b4245ad735e74f226bd796dc85de4f843739.tar.xz
git-svn: add an odd test case that seems to cause segfaults over HTTP
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't/t9104-git-svn-follow-parent.sh')
-rwxr-xr-xt/t9104-git-svn-follow-parent.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/t9104-git-svn-follow-parent.sh b/t/t9104-git-svn-follow-parent.sh
index 22b45a660..615c863b9 100755
--- a/t/t9104-git-svn-follow-parent.sh
+++ b/t/t9104-git-svn-follow-parent.sh
@@ -78,6 +78,21 @@ test_expect_success 'follow larger parent' "
true
"
+# This seems to cause segfaults over HTTP...
+test_expect_success 'follow higher-level parent' "
+ svn mkdir -m 'follow higher-level parent' $svnrepo/blob &&
+ svn co $svnrepo/blob blob &&
+ cd blob &&
+ echo hi > hi &&
+ svn add hi &&
+ svn commit -m 'hi' &&
+ cd ..
+ svn mkdir -m 'new glob at top level' $svnrepo/glob &&
+ svn mv -m 'move blob down a level' $svnrepo/blob $svnrepo/glob/blob &&
+ git-svn init -i blob $svnrepo/glob/blob &&
+ git-svn fetch -i blob --follow-parent
+ "
+
test_debug 'gitk --all &'
test_done