diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2017-12-05 13:40:27 -0500 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-12-05 20:09:25 -0400 |
| commit | 9d23ebfcc30af11b2093bbdfc1288f14c2085525 (patch) | |
| tree | 62125263466058e6f963c760e92f6db7d35cbfad | |
| parent | 6d7249fec909b4dbb43e0a7833d30edee839bff1 (diff) | |
test: session keys are known broken without session key support
If the version of GMime we're building against doesn't support session
key extraction or re-use, mark the tests that rely on session key
capabilities as known-broken.
This should resolve test suite failures on ubuntu trusty and debian
jessie and earlier, which have GMime 2.6.20 -- session key support was
introduced in GMime 2.6.21.
| -rwxr-xr-x | test/T357-index-decryption.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/T357-index-decryption.sh b/test/T357-index-decryption.sh index 11ea2074..3efaa61f 100755 --- a/test/T357-index-decryption.sh +++ b/test/T357-index-decryption.sh @@ -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" |
