aboutsummaryrefslogtreecommitdiff
path: root/test/T356-protected-headers.sh
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-08-29 11:38:52 -0400
committerDavid Bremner <david@tethera.net>2019-09-01 08:44:17 -0300
commitc61e22d5cb9a7e5b03f9fcdb9911b4b4a641af2b (patch)
tree5e43693c8efa18b5f205cbca58c871a0fc677e82 /test/T356-protected-headers.sh
parentff3d873f0b80b023764fe9d3fc0609b81d82775e (diff)
cli/{show,reply}: skip over legacy-display parts
Make use of the previous changes to fast-forward past any legacy-display parts during "notmuch show" and "notmuch reply". Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'test/T356-protected-headers.sh')
-rwxr-xr-xtest/T356-protected-headers.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/T356-protected-headers.sh b/test/T356-protected-headers.sh
index 43dfffe6..867b8722 100755
--- a/test/T356-protected-headers.sh
+++ b/test/T356-protected-headers.sh
@@ -137,14 +137,12 @@ id:protected-header@crypto.notmuchmail.org
id:subjectless-protected-header@crypto.notmuchmail.org'
test_begin_subtest "when rendering protected headers, avoid rendering legacy-display part"
-test_subtest_known_broken
output=$(notmuch show --format=json id:protected-with-legacy-display@crypto.notmuchmail.org)
test_json_nodes <<<"$output" \
'subject:[0][0][0]["headers"]["Subject"]="Interrupting Cow"' \
'no_legacy_display:[0][0][0]["body"][0]["content"][1]["content-type"]="text/plain"'
test_begin_subtest "when replying, avoid rendering legacy-display part"
-test_subtest_known_broken
output=$(notmuch reply --format=json id:protected-with-legacy-display@crypto.notmuchmail.org)
test_json_nodes <<<"$output" \
'no_legacy_display:["original"]["body"][0]["content"][1]["content-type"]="text/plain"'