Merge branch 'master' of git://git.kernel.org/pub/scm/git/git
[gitweb.git] / t / t3418-rebase-continue.sh
index 54b26a928464608ad3a03d995c0b8462b1621f18..bdaa511bb0ae1082568e83781252f667b39cda8a 100755 (executable)
@@ -257,7 +257,12 @@ test_expect_success 'the todo command "break" works' '
 test_expect_success '--reschedule-failed-exec' '
        test_when_finished "git rebase --abort" &&
        test_must_fail git rebase -x false --reschedule-failed-exec HEAD^ &&
-       grep "^exec false" .git/rebase-merge/git-rebase-todo
+       grep "^exec false" .git/rebase-merge/git-rebase-todo &&
+       git rebase --abort &&
+       test_must_fail git -c rebase.rescheduleFailedExec=true \
+               rebase -x false HEAD^ 2>err &&
+       grep "^exec false" .git/rebase-merge/git-rebase-todo &&
+       test_i18ngrep "has been rescheduled" err
 '
 
 test_done