]> git.notmuchmail.org Git - notmuch/blobdiff - test/T040-setup.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T040-setup.sh
index 0e9f279a6e714c6359261bb6d44d38d6442e68c8..cf0c00bc5c1fcd3900754db00cee34cf8be7c428 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description='"notmuch setup"'
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_begin_subtest "Notmuch new without a config suggests notmuch setup"
 output=$(notmuch --config=new-notmuch-config new 2>&1)