]> git.notmuchmail.org Git - notmuch/commit
test: Add a test of "notmuch show" with a multipart message
authorCarl Worth <cworth@cworth.org>
Mon, 16 May 2011 22:25:25 +0000 (15:25 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 17 May 2011 05:21:31 +0000 (22:21 -0700)
commitd67f75549785117a8e0c3bc4f0bd71352a29974c
tree0f881554c9652cdd557fb84959770bb63f50518c
parentd5523ead90b6be2b07d4af745b8ed9b980a6b9f1
test: Add a test of "notmuch show" with a multipart message

This tests "notmuch show" with both --format=text and --format=json on
a message with some non-trivial MIME multipart nesting, (multiple parts
within a multipart/mixed part which is within a multipart/signed part).

The test captures the current behavior (where only the leaf nodes of
the MIME structure are emitted as a flat list---the multipart parts
are effectively ignored). We plan to soon change the json output at
least to emit an actual hierarchy matching the MIME structure, (at
which point we will update this test).
test/multipart [new file with mode: 0755]
test/notmuch-test