]> git.notmuchmail.org Git - notmuch/blobdiff - test/T400-hooks.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T400-hooks.sh
index 1adab2f078e51cbe79b9509431e902d5b15a0e69..ed1191319fecbf49f681b0f46ee4a197a45ccdee 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='hooks'
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 HOOK_DIR=${MAIL_DIR}/.notmuch/hooks