]> git.99rst.org Git - git.git/commit
t/lib-gpg: introduce new prereq GPG2
authorKousik Sanagavarapu <redacted>
Sun, 4 Jun 2023 18:22:46 +0000 (23:52 +0530)
committerJunio C Hamano <redacted>
Tue, 6 Jun 2023 00:32:12 +0000 (09:32 +0900)
commit2f36339fa8622ee1cba957e8d0ef15719c697de3
treeeb7925b1eb1e4419a626fc8457f60126ca04df65
parentfe86abd7511a9a6862d5706c6fa1d9b57a63ba09
t/lib-gpg: introduce new prereq GPG2

GnuPG v2.0.0 released in 2006, which according to its release notes

https://gnupg.org/download/release_notes.html

is the "First stable version of GnuPG integrating OpenPGP and S/MIME".

Use this version or its successors for tests that will fail for
versions less than v2.0.0 because of the difference in the output on
stderr between the versions (v2.* vs v0.* or v2.* vs v1.*). Skip if
the GPG version detected is less than v2.0.0.

Do not, however, remove the existing prereq GPG yet since a lot of tests
still work with the prereq GPG (that is even with versions v0.* or v1.*)
and some systems still use these versions.

Mentored-by: Christian Couder <redacted>
Mentored-by: Hariom Verma <redacted>
Signed-off-by: Kousik Sanagavarapu <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/lib-gpg.sh
t/t7510-signed-commit.sh
git clone https://git.99rst.org/PROJECT