[PATCHv2 5/6] t7510: test verify-commit

2014-06-13 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.

Re: [PATCHv2 5/6] t7510: test verify-commit

2014-06-13 Thread Jeff King
On Fri, Jun 13, 2014 at 12:42:47PM +0200, Michael J Gruber wrote: 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

Re: [PATCHv2 5/6] t7510: test verify-commit

2014-06-13 Thread Michael J Gruber
Jeff King venit, vidit, dixit 13.06.2014 13:51: On Fri, Jun 13, 2014 at 12:42:47PM +0200, Michael J Gruber wrote: 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

Re: [PATCHv2 5/6] t7510: test verify-commit

2014-06-13 Thread Junio C Hamano
Michael J Gruber g...@drmicha.warpmail.net writes: Jeff King venit, vidit, dixit 13.06.2014 13:51: On Fri, Jun 13, 2014 at 12:42:47PM +0200, Michael J Gruber wrote: test_expect_success GPG 'detect fudged signature' ' git cat-file commit master raw sed -e s/seventh/7th forged/