]> git.notmuchmail.org Git - notmuch/blobdiff - test/T470-missing-headers.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T470-missing-headers.sh
index cb38301c255a1d0b8dd661636499930862fd5b7f..e256c10ac47a8f370cd42e95eb0bcafbd20b4845 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