aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-11-04 07:48:07 -0800
committerJunio C Hamano <gitster@pobox.com>2025-11-04 07:48:07 -0800
commit8f0d663eace8c6797441c60220abec16b40e9a2b (patch)
tree20ef3dfc204e1a0615ea3438c09a1f9e3f87ccc8
parentMerge branch 'jt/repo-structure' (diff)
parentt/lib-gpg: call prepare_gnupghome() in GPG2 prereq (diff)
downloadgit-8f0d663eace8c6797441c60220abec16b40e9a2b.tar.gz
git-8f0d663eace8c6797441c60220abec16b40e9a2b.zip
Merge branch 'tz/test-prepare-gnupghome'
Tests did not set up GNUPGHOME correctly, which is fixed but some flaky tests are exposed in t1016, which needs to be addressed before this topic can move forward. * tz/test-prepare-gnupghome: t/lib-gpg: call prepare_gnupghome() in GPG2 prereq t/lib-gpg: add prepare_gnupghome() to create GNUPGHOME dir
-rw-r--r--t/lib-gpg.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh
index b99ae39a06..97268ae07c 100644
--- a/t/lib-gpg.sh
+++ b/t/lib-gpg.sh
@@ -71,6 +71,7 @@ test_lazy_prereq GPG2 '
exit 1
;;
*)
+ prepare_gnupghome &&
(gpgconf --kill all || : ) &&
# NEEDSWORK: prepare_gnupghome() should definitely be