m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
'