From 1492b4245ad735e74f226bd796dc85de4f843739 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 25 Jan 2007 10:52:36 -0800 Subject: [PATCH] git-svn: add an odd test case that seems to cause segfaults over HTTP Signed-off-by: Eric Wong --- t/t9104-git-svn-follow-parent.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- 2.26.2