summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2007-01-25 10:52:36 -0800
committerLibravatar Eric Wong <normalperson@yhbt.net>2007-02-23 00:57:10 -0800
commit1492b4245ad735e74f226bd796dc85de4f843739 (patch)
tree34de3de355cdef291c21f33257b554f3dd640179 /t
parentgit-svn: track writes writes to the index in fetch (diff)
downloadtgif-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')
-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 22b45a6602..615c863b94 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