m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-01-28 17:36:42 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-01-28 17:36:42 +0100
commitc1f4922e9d038102ba77eeb3e97d34d8b21c762e (patch)
tree0b993e57b7414a228b06903fb740d49d1cc57b77
parente6f2fdc677c205b4c31d0c81de67d4d37264f84b (diff)
Skip broken tests.
-rwxr-xr-xtests/t0300-reencryption.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/t0300-reencryption.sh b/tests/t0300-reencryption.sh
index 9d46580..58d6931 100755
--- a/tests/t0300-reencryption.sh
+++ b/tests/t0300-reencryption.sh
@@ -21,6 +21,12 @@ gpg_keys_from_group() {
canonicalize_gpg_keys "${keys[@]}"
}
+if $GPG --with-colons --list-config | grep -q '^cfg:version:2.1.[01]$'; then
+ skip_all="These tests are broken with GnuPG 2.1.0 and 2.1.1."
+ test_done
+ exit 0
+fi
+
test_expect_success 'Setup initial key and git' '
"$PASS" init $KEY1 && "$PASS" git init
'