]> git.notmuchmail.org Git - notmuch/blobdiff - test/T010-help-test.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T010-help-test.sh
index d7266ffca73d945c75fbab0aab198d543cb81768..c173237631125ebd68894508763f1f61fab94d74 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description="online help"
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_expect_success 'notmuch --help' 'notmuch --help'
 test_expect_success 'notmuch help' 'notmuch help'