diff options
author | Christian Hesse <mail@eworm.de> | 2014-12-12 09:50:13 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-12 10:26:08 -0800 |
commit | c0e0ed6efe497902a2e2ce5fb1586577a27eea1b (patch) | |
tree | b34083336667d9b22d21e253b112021c0c075c49 /t/lib-gpg.sh | |
parent | b41a36e635803f1dc011007e836ae244f9ae04c1 (diff) | |
download | git-c0e0ed6efe497902a2e2ce5fb1586577a27eea1b.tar.gz |
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 <mail@eworm.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-gpg.sh')
-rwxr-xr-x | t/lib-gpg.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |