]> git.notmuchmail.org Git - notmuch/blobdiff - test/T380-atomicity.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T380-atomicity.sh
index ee1e2f43d838960a9f8d8173c666bf2ae95834b1..845dfde75fd6e8bae20283da3285d3046b498761 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='atomicity'
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 # This script tests the effects of killing and restarting "notmuch
 # new" at arbitrary points.  If notmuch new is properly atomic, the