t/lib-gpg: require GPGSSH for GPGSSH_VERIFYTIME prereq
commit78e56cff69df290058ddefe18637de973f91b39d
authorTodd Zullinger <tmz@pobox.com>
Tue, 6 Jun 2023 21:47:07 +0000 (6 17:47 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jun 2023 20:50:39 +0000 (12 13:50 -0700)
tree4be8d149394bfa3ccf9299b92c4da826ff04b410
parent0d1bd1dfb37ef25e1911777c94129fc769ffec38
t/lib-gpg: require GPGSSH for GPGSSH_VERIFYTIME prereq

The GPGSSH_VERIFYTIME prequeq makes use of "${GNUPGHOME}" but does not
create it.  Require GPGSSH which creates the "${GNUPGHOME}" directory.

Additionally, it makes sense to require GPGSSH in GPGSSH_VERIFYTIME
because the latter builds on the former.  If we can't use GPGSSH,
there's little point in checking whether GPGSSH_VERIFYTIME is usable.

Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-gpg.sh