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 &&
|
"$TEST_DIRECTORY"/lib-gpg/keyring.gpg &&
|
||||||
gpg --homedir "${GNUPGHOME}" --import-ownertrust \
|
gpg --homedir "${GNUPGHOME}" --import-ownertrust \
|
||||||
"$TEST_DIRECTORY"/lib-gpg/ownertrust &&
|
"$TEST_DIRECTORY"/lib-gpg/ownertrust &&
|
||||||
|
gpg --homedir "${GNUPGHOME}" --update-trustdb &&
|
||||||
gpg --homedir "${GNUPGHOME}" </dev/null >/dev/null \
|
gpg --homedir "${GNUPGHOME}" </dev/null >/dev/null \
|
||||||
--sign -u committer@example.com
|
--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' '
|
test_expect_success GPG2 'bare signature atom' '
|
||||||
git verify-commit first-signed 2>out.raw &&
|
git verify-commit first-signed 2>expect &&
|
||||||
grep -Ev "checking the trustdb|PGP trust model" out.raw >out &&
|
|
||||||
head -3 out >expect &&
|
|
||||||
tail -1 out >>expect &&
|
|
||||||
echo >>expect &&
|
echo >>expect &&
|
||||||
git for-each-ref refs/tags/first-signed \
|
git for-each-ref refs/tags/first-signed \
|
||||||
--format="%(signature)" >actual &&
|
--format="%(signature)" >actual &&
|
||||||
|
|
Loading…
Reference in New Issue