From c0e0ed6efe497902a2e2ce5fb1586577a27eea1b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 12 Dec 2014 09:50:13 +0100 Subject: tests: skip RFC1991 tests for gnupg 2.1 GnuPG >= 2.1.0 no longer supports RFC1991, so skip these tests. Signed-off-by: Christian Hesse Signed-off-by: Junio C Hamano --- t/lib-gpg.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 't/lib-gpg.sh') diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index 4e57942b35..7e077b01c1 100755 --- a/t/lib-gpg.sh +++ b/t/lib-gpg.sh @@ -26,6 +26,10 @@ else gpg --homedir "${GNUPGHOME}" --import-ownertrust \ "$TEST_DIRECTORY"/lib-gpg/ownertrust test_set_prereq GPG + if echo | gpg --homedir "${GNUPGHOME}" -b --rfc1991 >/dev/null 2>&1 + then + test_set_prereq RFC1991 + fi ;; esac fi -- cgit v1.2.1