]> git.notmuchmail.org Git - notmuch/commit
test: Unify all tests to use the pass_if_equal function.
authorCarl Worth <cworth@cworth.org>
Thu, 15 Apr 2010 22:09:21 +0000 (15:09 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 15 Apr 2010 22:09:21 +0000 (15:09 -0700)
commit004ed3362f7cbc46a118faf6c380da1bc5bd3f78
treec647102431a783e359866970c09724dcfa85298e
parent6d16e5c7a311b6b255f59aac8747b8d441d5dd57
test: Unify all tests to use the pass_if_equal function.

Previously some tests (dump/restore) were doing ad-hoc verification of
values and their own printing of PASS/FAIL, etc. This made it
impossible to count test pass/fail rates in a single place.

The only reason these tests were written that way was because the old
execute_expecting function only worked if one could directly test the
stdout output of a notmuch command. The recent switch to pass_if_equal
means that all tests can use it.
test/notmuch-test