Merge branch 'ch/t6300-verify-commit-test-cleanup' into maint-2.42
Test clean-up. * ch/t6300-verify-commit-test-cleanup: t/t6300: drop magic filtering t/lib-gpg: forcibly run a trustdb updatemaint
commit
43af21409e
|
@ -45,6 +45,7 @@ test_lazy_prereq GPG '
|
|||
"$TEST_DIRECTORY"/lib-gpg/keyring.gpg &&
|
||||
gpg --homedir "${GNUPGHOME}" --import-ownertrust \
|
||||
"$TEST_DIRECTORY"/lib-gpg/ownertrust &&
|
||||
gpg --homedir "${GNUPGHOME}" --update-trustdb &&
|
||||
gpg --homedir "${GNUPGHOME}" </dev/null >/dev/null \
|
||||
--sign -u committer@example.com
|
||||
;;
|
||||
|
|
|
@ -1774,10 +1774,7 @@ test_expect_success GPGSSH 'setup for signature atom using ssh' '
|
|||
'
|
||||
|
||||
test_expect_success GPG2 'bare signature atom' '
|
||||
git verify-commit first-signed 2>out.raw &&
|
||||
grep -Ev "checking the trustdb|PGP trust model" out.raw >out &&
|
||||
head -3 out >expect &&
|
||||
tail -1 out >>expect &&
|
||||
git verify-commit first-signed 2>expect &&
|
||||
echo >>expect &&
|
||||
git for-each-ref refs/tags/first-signed \
|
||||
--format="%(signature)" >actual &&
|
||||
|
|
Loading…
Reference in New Issue