зеркало из https://github.com/microsoft/git.git
Merge branch 'mg/verify-commit'
Workarounds for certain build of GPG that triggered false breakage in a test. * mg/verify-commit: t7510: do not fail when gpg warns about insecure memory
This commit is contained in:
Коммит
4c24385e80
|
@ -86,8 +86,8 @@ test_expect_success GPG 'show signed commit with signature' '
|
|||
git show -s --show-signature initial >show &&
|
||||
git verify-commit -v initial >verify.1 2>verify.2 &&
|
||||
git cat-file commit initial >cat &&
|
||||
grep -v "gpg: " show >show.commit &&
|
||||
grep "gpg: " show >show.gpg &&
|
||||
grep -v -e "gpg: " -e "Warning: " show >show.commit &&
|
||||
grep -e "gpg: " -e "Warning: " show >show.gpg &&
|
||||
grep -v "^ " cat | grep -v "^gpgsig " >cat.commit &&
|
||||
test_cmp show.commit commit &&
|
||||
test_cmp show.gpg verify.2 &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче