]> git.notmuchmail.org Git - notmuch/commitdiff
tests: mark sig verification known-broken with session keys on buggy gpgme
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 2 Jul 2020 18:00:49 +0000 (14:00 -0400)
committerDavid Bremner <david@tethera.net>
Fri, 3 Jul 2020 00:23:28 +0000 (21:23 -0300)
We make use of the just-introduced configure test.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
test/T357-index-decryption.sh

index 1ac2836a6e31e9cab1b8c37444038fc6162bce29..1ed5f28cfc455bd74d30f0f047032f75595c2886 100755 (executable)
@@ -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