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