]> git.notmuchmail.org Git - notmuch/commit
test: Add simple tests for "notmuch search --output=<>"
authorCarl Worth <cworth@cworth.org>
Wed, 24 Nov 2010 01:41:25 +0000 (17:41 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 24 Nov 2010 01:41:25 +0000 (17:41 -0800)
commite2a550b968010e0bb7b5d519ef33409f0cf2f28d
tree74a08887f07941cce1aa248d57b7b5d2903db85b
parent3560f3300a2d8a4e81625f8290f176ee7564002f
test: Add simple tests for "notmuch search --output=<>"

This code simply wasn't being exercised by the test suite before, so
this will be useful.

Meanwhile, there's currently a bug in "notmuch search --output=tags"
in that it doesn't print a final newline. But the current test suite
isn't able to catch this bug since the $() construct of the shell
doesn't preserve the distinction of whether the final newline is
present or not.
test/notmuch-test
test/search-output [new file with mode: 0755]