]> git.notmuchmail.org Git - notmuch/blobdiff - test/README
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / README
index daf416002ae16274757e06649647563cccd79caf..ce403cef298dd8aaeac60ab94b49a029d7839ed4 100644 (file)
@@ -138,7 +138,7 @@ Source 'test-lib.sh'
 After assigning test_description, the test script should source
 test-lib.sh like this:
 
-       . ./test-lib.sh
+       . ./test-lib.sh || exit 1
 
 This test harness library does the following things: