git-svn: add an odd test case that seems to cause segfaults over HTTP
authorEric Wong <normalperson@yhbt.net>
Thu, 25 Jan 2007 18:52:36 +0000 (10:52 -0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Feb 2007 08:57:10 +0000 (00:57 -0800)
Signed-off-by: Eric Wong <normalperson@yhbt.net>
t/t9104-git-svn-follow-parent.sh

index 22b45a660297dc70eeda931fa92acbf997c405aa..615c863b94b0c3efe6bc724b1f6849803b471a04 100755 (executable)
@@ -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