summaryrefslogtreecommitdiff
path: root/t/t9104-git-svn-follow-parent.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-01-25 18:52:36 (GMT)
committerEric Wong <normalperson@yhbt.net>2007-02-23 08:57:10 (GMT)
commit1492b4245ad735e74f226bd796dc85de4f843739 (patch)
tree34de3de355cdef291c21f33257b554f3dd640179 /t/t9104-git-svn-follow-parent.sh
parentef3cfaad19f2587ea4ff7d46574d9118f8d9555e (diff)
downloadgit-1492b4245ad735e74f226bd796dc85de4f843739.zip
git-1492b4245ad735e74f226bd796dc85de4f843739.tar.gz
git-1492b4245ad735e74f226bd796dc85de4f843739.tar.bz2
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 22b45a6..615c863 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