Re: [PATCHv3 5/5] t7510: test verify-commit

2014-06-23 Thread Junio C Hamano
Michael J Gruber writes: > test_expect_success GPG 'detect fudged signature' ' > git cat-file commit master >raw && > > sed -e "s/seventh/7th forged/" raw >forged1 && > git hash-object -w -t commit forged1 >forged1.commit && > + ! git verify-commit $(cat forged1.commit) &

[PATCHv3 5/5] t7510: test verify-commit

2014-06-23 Thread Michael J Gruber
This mixes the "git verify-commit" tests in with the "git show --show-signature" tests, to keep the tests more readable. The tests already mix in the "call show" tests with the "verify" tests. So in case of a test beakage, a '-v' run would be needed to reveal the exact point of breakage anyway. A