]> git.notmuchmail.org Git - notmuch/blobdiff - test/T180-text.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T180-text.sh
index b5ccefc9fccd82e7539a46f9379b8db6750e90df..3a265dbd5a73a24ef76354258ede1e689d8d8d26 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="--format=text output"
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_begin_subtest "Show message: text"
 add_message "[subject]=\"text-show-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"text-show-message\""