Merge branch 'js/mingw-create-hard-link'
[gitweb.git] / t / t3418-rebase-continue.sh
index f0025c7810d5a3cb9827f9f1bff3feb476161b64..0210b2ac6f0709cce4bf7b656b3c61a751330e61 100755 (executable)
@@ -242,5 +242,16 @@ test_rerere_autoupdate -m
 GIT_SEQUENCE_EDITOR=: && export GIT_SEQUENCE_EDITOR
 test_rerere_autoupdate -i
 test_have_prereq !REBASE_P || test_rerere_autoupdate --preserve-merges
+unset GIT_SEQUENCE_EDITOR
+
+test_expect_success 'the todo command "break" works' '
+       rm -f execed &&
+       FAKE_LINES="break b exec_>execed" git rebase -i HEAD &&
+       test_path_is_missing execed &&
+       git rebase --continue &&
+       test_path_is_missing execed &&
+       git rebase --continue &&
+       test_path_is_file execed
+'
 
 test_done