Skip to content

Commit

Permalink
git-svn: add an odd test case that seems to cause segfaults over HTTP
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Wong <normalperson@yhbt.net>
  • Loading branch information
Eric Wong committed Feb 23, 2007
1 parent ef3cfaa commit 1492b42
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions t/t9104-git-svn-follow-parent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1492b42

Please sign in to comment.