3 test_description='merge-recursive backend test'
7 # A <- create some files
9 # B C <- cause rename/delete conflicts between B and C
18 # F G <- merge E into B, D into C
22 # H <- recursive merge crashes
26 test_expect_success 'setup repo with criss-cross history' '
29 # create a bunch of files
43 # a file in one branch
44 git checkout -b B A &&
49 # with a branch off of it
52 # put some commits on D
54 echo testD > data/testD &&
58 # back up to the top, create another branch and cause
59 # a rename conflict with the file we deleted earlier
60 git checkout -b C A &&
61 git mv data/9 data/new-9 &&
65 # with a branch off of it
70 echo testE > data/testE &&
76 test_must_fail git merge E &&
84 test_must_fail git merge D &&
91 test_expect_success 'recursive merge between F and G does not cause segfault' '