]> git.notmuchmail.org Git - notmuch/commit
test: Avoid using unreliable, hard-coded thread ID values in test suite.
authorCarl Worth <cworth@cworth.org>
Thu, 28 Oct 2010 18:45:50 +0000 (11:45 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 28 Oct 2010 18:45:50 +0000 (11:45 -0700)
commit4884f5496caa2cdc8749c5eefbdc264373403f22
tree8a47fcc6d46dda08d4dc4ca0c205cbdfa9c4bfc5
parent294b6a67c1461f41ae331e5f7ea3cd07488cb3c2
test: Avoid using unreliable, hard-coded thread ID values in test suite.

Some recently-added tests used hard-coded thread ID values in search
specifications. This is unreliable since the thread IDs depend on the
order in which "notmuch new" encounters new files, (which in turn can
depend on inode ordering within the filesystem).

Fix these by using the new "notmuch search --output=threads" to find the
correct thread IDs given a hard-coded (but reliable) message ID.
test/emacs
test/emacs.expected-output/notmuch-show-thread-9 [deleted file]
test/emacs.expected-output/notmuch-show-thread-maildir-storage [new file with mode: 0644]