diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-05-26 18:15:58 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-05-29 08:05:01 -0300 |
| commit | 1c7fbbcc99693c0433f7b06b569ce90c19ac5e1b (patch) | |
| tree | 23fa9bd1bdb6fd4839fc111861f50e5abc586738 /test | |
| parent | 528f526f6970499575712fd1db6610d773a0b80e (diff) | |
cli/show: emit payload subject instead of outside subject
Correctly fix the two outstanding tests so that the protected (hidden)
subject is properly reported.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T356-protected-headers.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/T356-protected-headers.sh b/test/T356-protected-headers.sh index 599ff1ed..8a8fef6a 100755 --- a/test/T356-protected-headers.sh +++ b/test/T356-protected-headers.sh @@ -21,7 +21,6 @@ test_json_nodes <<<"$output" \ test_begin_subtest "verify protected header is visible with decryption" output=$(notmuch show --decrypt=true --format=json id:protected-header@crypto.notmuchmail.org) -test_subtest_known_broken test_json_nodes <<<"$output" \ 'crypto:[0][0][0]["crypto"]={"decrypted": {"status": "full"}}' \ 'subject:[0][0][0]["headers"]["Subject"]="This is a protected header"' @@ -58,7 +57,6 @@ test_json_nodes <<<"$output" \ test_begin_subtest "verify nested message/rfc822 protected header is visible" output=$(notmuch show --decrypt=true --format=json id:nested-rfc822-message@crypto.notmuchmail.org) -test_subtest_known_broken test_json_nodes <<<"$output" \ 'crypto:[0][0][0]["crypto"]={"decrypted": {"status": "full"}}' \ 'subject:[0][0][0]["headers"]["Subject"]="This is a message using draft-melnikov-smime-header-signing"' |
