]> git.notmuchmail.org Git - notmuch/blobdiff - test/T330-emacs-subject-to-filename.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T330-emacs-subject-to-filename.sh
index 230c324d2ea4d60aa35bfbd4af30eb73a6c716d1..517fa8398261ad7c3aea91d641685c8bdba9baf8 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description="emacs: mail subject to filename"
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 # emacs server can't be started in a child process with $(test_emacs ...)
 test_emacs '(ignore)' > /dev/null