]> git.cworth.org Git - notmuch/blobdiff - test/T050-new.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T050-new.sh
index ff1c35497945fc14519940d0a75f442b9622f935..625739232369bb9783e7aa41cf25417dba6604d0 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='"notmuch new" in several variations'
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_begin_subtest "No new messages"
 output=$(NOTMUCH_NEW --debug)