Skip to content

Commit 43af214

Browse files
committed
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 update
2 parents 7c7f6d8 + d0fc552 commit 43af214

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

t/lib-gpg.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ test_lazy_prereq GPG '
4545
"$TEST_DIRECTORY"/lib-gpg/keyring.gpg &&
4646
gpg --homedir "${GNUPGHOME}" --import-ownertrust \
4747
"$TEST_DIRECTORY"/lib-gpg/ownertrust &&
48+
gpg --homedir "${GNUPGHOME}" --update-trustdb &&
4849
gpg --homedir "${GNUPGHOME}" </dev/null >/dev/null \
4950
5051
;;

t/t6300-for-each-ref.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,10 +1774,7 @@ test_expect_success GPGSSH 'setup for signature atom using ssh' '
17741774
'
17751775

17761776
test_expect_success GPG2 'bare signature atom' '
1777-
git verify-commit first-signed 2>out.raw &&
1778-
grep -Ev "checking the trustdb|PGP trust model" out.raw >out &&
1779-
head -3 out >expect &&
1780-
tail -1 out >>expect &&
1777+
git verify-commit first-signed 2>expect &&
17811778
echo >>expect &&
17821779
git for-each-ref refs/tags/first-signed \
17831780
--format="%(signature)" >actual &&

0 commit comments

Comments
 (0)