]> git.notmuchmail.org Git - notmuch/blobdiff - test/T470-missing-headers.sh
Merge branch 'release'
[notmuch] / test / T470-missing-headers.sh
index cb38301c255a1d0b8dd661636499930862fd5b7f..256a885f806a060fbf605a49ebbea6b7b669a7a3 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='messages with missing headers'
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 # Notmuch requires at least one of from, subject, or to or it will
 # ignore the file.  Generate two messages so that together they cover
@@ -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)