diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index a845930404ac51f15de891ce58dada9e009f4aee..b785080f9fa04ff81994d2d7087f5edffec86dfc 100755 (executable)
--- a/t/t7004-tag.sh
+++ b/t/t7004-tag.sh
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>