test: Test thread linking in all possible delivery orders
authorAustin Clements <amdragon@MIT.EDU>
Wed, 9 Jul 2014 21:15:38 +0000 (17:15 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 16 Jul 2014 10:08:02 +0000 (07:08 -0300)
commitc2bbe9eb6c46b2f1723ce6c5e26816dd82e42c6f
treeba5379bd365879403959c4b1c59e5a682ca58598
parentde37f21e5b158625cb7714c51696aaaa8bbbd8b6
test: Test thread linking in all possible delivery orders

These tests deliver all possible (single-root) four-message threads in
all possible orders and check that notmuch successfully links them
into threads.  These tests supersede and replace the previous and much
less thorough "T260-thread-order" tests.

There are two variants of the test: one delivers messages that
reference only their immediate parent and the other delivers messages
that reference all of their parents.  The latter test is currently
known-broken.
test/T260-thread-order.sh
test/gen-threads.py [new file with mode: 0644]