]> git.notmuchmail.org Git - notmuch/blobdiff - test/T420-emacs-test-functions.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T420-emacs-test-functions.sh
index ca4a7988567452af1f2d3296ba462d275516fb3f..955c5f7ff295beacdf3dc52b61e5a2ef6b2561c0 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description="emacs test function sanity"
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_begin_subtest "emacs test function sanity"
 test_emacs_expect_t 't'