Skip to content

Commit

Permalink
t3435: remove redundant test case
Browse files Browse the repository at this point in the history
rebase --preserve-merges no longer exists so there is no point in
carrying this failing test case.

Signed-off-by: Phillip Wood <[email protected]>
  • Loading branch information
phillipwood committed Oct 4, 2022
1 parent 7122934 commit 67d2e54
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions t/t3435-rebase-gpg-sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@ test_rebase_gpg_sign ! true -i --no-gpg-sign
test_rebase_gpg_sign ! true -i --gpg-sign --no-gpg-sign
test_rebase_gpg_sign false -i --no-gpg-sign --gpg-sign

test_expect_failure 'rebase -p --no-gpg-sign override commit.gpgsign' '
test_when_finished "git clean -f" &&
git reset --hard merged &&
git config commit.gpgsign true &&
git rebase -p --no-gpg-sign --onto=one fork-point main &&
test_must_fail git verify-commit HEAD
'

test_expect_success 'rebase -r, merge strategy, --gpg-sign will sign commit' '
git reset --hard merged &&
test_unconfig commit.gpgsign &&
Expand Down

0 comments on commit 67d2e54

Please sign in to comment.