test: silence the output of notmuch new mid-test
authorJani Nikula <jani@nikula.org>
Sun, 11 Sep 2016 15:42:25 +0000 (18:42 +0300)
committerDavid Bremner <david@tethera.net>
Mon, 19 Sep 2016 23:42:09 +0000 (20:42 -0300)
Fix this during test run:

T470-missing-headers: Testing messages with missing headers
Added 2 new messages to the database.

test/T470-missing-headers.sh

index e256c10ac47a8f370cd42e95eb0bcafbd20b4845..256a885f806a060fbf605a49ebbea6b7b669a7a3 100755 (executable)
@@ -20,7 +20,7 @@ From: Notmuch Test Suite <test_suite@notmuchmail.org>
 Body
 EOF
 
-NOTMUCH_NEW
+NOTMUCH_NEW >/dev/null
 
 test_begin_subtest "Search: text"
 output=$(notmuch search '*' | notmuch_search_sanitize)