]> git.notmuchmail.org Git - notmuch/blobdiff - test/T357-index-decryption.sh
test: session keys are known broken without session key support
[notmuch] / test / T357-index-decryption.sh
index 11ea2074d57a776874a29f1393a482775e746841..3efaa61fdc635567075ef9ff5e38c2ffaa54f5ec 100755 (executable)
@@ -183,6 +183,9 @@ EOF
 notmuch reindex --try-decrypt id:simple-encrypted@crypto.notmuchmail.org
 output=$(notmuch search sekrit)
 expected='thread:0000000000000001   2016-12-22 [1/1] Daniel Kahn Gillmor; encrypted message (encrypted inbox unread)'
+if [ $NOTMUCH_HAVE_GMIME_SESSION_KEYS -eq 0 ]; then
+    test_subtest_known_broken
+fi
 test_expect_equal \
     "$output" \
     "$expected"