diff options
author | Carlos Rica <jasampler@gmail.com> | 2007-07-08 21:36:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-08 18:24:19 -0700 |
commit | 797e99a27848a0f6da1f3c85cb3714652fde23ba (patch) | |
tree | 7f5a4b55e22e744cf3f54f03a3cdc9deebe9ba58 | |
parent | Fix merge-one-file for our-side-added/our-side-removed cases (diff) | |
download | tgif-797e99a27848a0f6da1f3c85cb3714652fde23ba.tar.xz |
t7004: Skip tests for signed tags in an old version of gpg.
As said here: http://www.gnupg.org/documentation/faqs.html#q6.19
the gpg version 1.0.6 didn't parse trust packets correctly, so for
that version, creation of signed tags using the generated key fails.
Signed-off-by: Carlos Rica <jasampler@gmail.com>
Acked-by: Sven Verdoolaege <skimo@kotnet.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | t/t7004-tag.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh index a845930404..b785080f9f 100755 --- a/t/t7004-tag.sh +++ b/t/t7004-tag.sh @@ -460,6 +460,17 @@ if [ $? -eq 127 ]; then exit fi +# As said here: http://www.gnupg.org/documentation/faqs.html#q6.19 +# the gpg version 1.0.6 didn't parse trust packets correctly, so for +# that version, creation of signed tags using the generated key fails. +case "$(gpg --version)" in +'gpg (GnuPG) 1.0.6'*) + echo "Skipping signed tag tests, because a bug in 1.0.6 version" + test_done + exit + ;; +esac + # key generation info: gpg --homedir t/t7004 --gen-key # Type DSA and Elgamal, size 2048 bits, no expiration date. # Name and email: C O Mitter <committer@example.com> |