X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT355-smime.sh;h=4de0fbefae65361414d38de5de871c0098b0cb25;hb=5f4aceee26ca6db3cdd09ff69220a63e07976a01;hp=7c28282a4c1a95737edf73ac4a8dbf8cfa2b063d;hpb=ad60e5d4e8a6736af28f326803dbd38620e71ae8;p=notmuch diff --git a/test/T355-smime.sh b/test/T355-smime.sh index 7c28282a..4de0fbef 100755 --- a/test/T355-smime.sh +++ b/test/T355-smime.sh @@ -142,7 +142,6 @@ expected='#notmuch-dump batch-tag:3 config,properties,tags test_expect_equal "$expected" "$output" test_begin_subtest "show contents of PKCS#7 SignedData message" -test_subtest_known_broken output=$(notmuch show --format=raw --part=2 id:smime-onepart-signed@protected-headers.example) whitespace=' ' expected="Bob, we need to cancel this contract. @@ -178,6 +177,7 @@ On Tue, 26 Nov 2019 20:11:29 -0400, Alice Lovelace wrote: test_expect_equal "$expected" "$output" test_begin_subtest "show PKCS#7 SignedData outputs valid JSON" +test_subtest_known_broken output=$(notmuch show --format=json id:smime-onepart-signed@protected-headers.example) test_valid_json "$output"