aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2020-07-02 14:00:49 -0400
committerDavid Bremner <david@tethera.net>2020-07-02 21:23:28 -0300
commit18a152294870fc89ed95791d5afbb68d49bc33f9 (patch)
tree1e821d51d64ecd592b2db66a2a47104e460d176f
parente624cc132af462641b19db3762a58a5776047890 (diff)
tests: mark sig verification known-broken with session keys on buggy gpgme
We make use of the just-introduced configure test. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-rwxr-xr-xtest/T357-index-decryption.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/T357-index-decryption.sh b/test/T357-index-decryption.sh
index 1ac2836a..1ed5f28c 100755
--- a/test/T357-index-decryption.sh
+++ b/test/T357-index-decryption.sh
@@ -306,6 +306,9 @@ test_json_nodes <<<"$output" "$goodsig"
test_begin_subtest "verify signature with stashed session key"
output=$(notmuch show --format=json id:encrypted-signed@crypto.notmuchmail.org)
+if [ $NOTMUCH_GMIME_VERIFY_WITH_SESSION_KEY -ne 1 ]; then
+ test_subtest_known_broken
+fi
test_json_nodes <<<"$output" "$goodsig"
# TODO: test removal of a message from the message store between