]> git.notmuchmail.org Git - notmuch/blobdiff - test/T300-encoding.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T300-encoding.sh
index b6c86bf02f11616dbf50fc8db2689882244086df..8d201c7e8aa42d94c316c3e21a51658c58843de0 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="encoding issues"
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_begin_subtest "Message with text of unknown charset"
 add_message '[content-type]="text/plain; charset=unknown-8bit"' \