]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3510-cherry-pick-sequence.sh
cherry-pick: add test for `--skip` advice in `git commit`
[thirdparty/git.git] / t / t3510-cherry-pick-sequence.sh
index 793bcc7fe3246e8fc375b8678bb99f7bc875a48c..5b94fdaa6713a2bcf7958d6630925a09fea05ed6 100755 (executable)
@@ -123,7 +123,8 @@ test_expect_success 'revert --skip to skip commit' '
 test_expect_success 'skip "empty" commit' '
        pristine_detach picked &&
        test_commit dummy foo d &&
-       test_must_fail git cherry-pick anotherpick &&
+       test_must_fail git cherry-pick anotherpick 2>err &&
+       test_i18ngrep "git cherry-pick --skip" err &&
        git cherry-pick --skip &&
        test_cmp_rev dummy HEAD
 '