From: Eric Wong Date: Thu, 25 Jan 2007 18:52:36 +0000 (-0800) Subject: git-svn: add an odd test case that seems to cause segfaults over HTTP X-Git-Tag: v1.5.1-rc1~224 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1492b4245ad735e74f226bd796dc85de4f843739;p=git.git git-svn: add an odd test case that seems to cause segfaults over HTTP Signed-off-by: Eric Wong --- 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