]> Pileus Git - ~andy/git/blobdiff - t/t3411-rebase-preserve-around-merges.sh
git p4 test: rename some "git-p4 command" strings
[~andy/git] / t / t3411-rebase-preserve-around-merges.sh
index 14a23cd8726fbb33df480133ed0466177916b7fb..dc81bf27eb736d32df0f0c3205de3254898d20b5 100755 (executable)
@@ -37,7 +37,7 @@ test_expect_success 'setup' '
 #        -- C1 --
 #
 test_expect_success 'squash F1 into D1' '
-       FAKE_LINES="1 squash 3 2" git rebase -i -p B1 &&
+       FAKE_LINES="1 squash 4 2 3" git rebase -i -p B1 &&
        test "$(git rev-parse HEAD^2)" = "$(git rev-parse C1)" &&
        test "$(git rev-parse HEAD~2)" = "$(git rev-parse B1)" &&
        git tag E2
@@ -56,6 +56,7 @@ test_expect_success 'squash F1 into D1' '
 # And rebase G1..M1 onto E2
 
 test_expect_success 'rebase two levels of merge' '
+       git checkout A1 &&
        test_commit G1 &&
        test_commit H1 &&
        test_commit I1 &&