]> git.cworth.org Git - notmuch/blobdiff - test/T560-lib-error.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T560-lib-error.sh
index b1e77aa0ee3878506d5136050376ed2d2c6f4a75..1ef4ff23a37f1e30a69c878d8d81b67e01339e97 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 test_description="error reporting for library"
 
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 backup_database () {
     rm -rf notmuch-dir-backup