Skip to content

Commit 031fff2

Browse files
eworm-degitster
authored andcommitted
t/lib-gpg: forcibly run a trustdb update
We want to compare output later, so randomly popping up 'gpg: checking the trustdb' breaks the tests. Run the trustdb update forcibly. Signed-off-by: Christian Hesse <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 43c8a30 commit 031fff2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
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
;;

0 commit comments

Comments
 (0)