Skip to content

Commit 967bfc5

Browse files
committed
Merge branch 'ch/t6300-verify-commit-test-cleanup'
Test clean-up. * ch/t6300-verify-commit-test-cleanup: t/t6300: drop magic filtering t/lib-gpg: forcibly run a trustdb update
2 parents 6e8611e + d0fc552 commit 967bfc5

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
@@ -1763,10 +1763,7 @@ test_expect_success GPGSSH 'setup for signature atom using ssh' '
17631763
'
17641764

17651765
test_expect_success GPG2 'bare signature atom' '
1766-
git verify-commit first-signed 2>out.raw &&
1767-
grep -Ev "checking the trustdb|PGP trust model" out.raw >out &&
1768-
head -3 out >expect &&
1769-
tail -1 out >>expect &&
1766+
git verify-commit first-signed 2>expect &&
17701767
echo >>expect &&
17711768
git for-each-ref refs/tags/first-signed \
17721769
--format="%(signature)" >actual &&

0 commit comments

Comments
 (0)