From e2a550b968010e0bb7b5d519ef33409f0cf2f28d Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 23 Nov 2010 17:41:25 -0800 Subject: 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/notmuch-test') diff --git a/test/notmuch-test b/test/notmuch-test index 055467f4..43565e87 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -24,7 +24,7 @@ trap 'die' 0 cd $(dirname "$0") -TESTS="basic new search json thread-naming raw reply dump-restore uuencode thread-order author-order from-guessing long-id encoding emacs maildir-sync" +TESTS="basic new search search-output json thread-naming raw reply dump-restore uuencode thread-order author-order from-guessing long-id encoding emacs maildir-sync" # Clean up any results from a previous run rm -rf test-results >/dev/null 2>/dev/null -- cgit v1.2.3