]> git.notmuchmail.org Git - notmuch/blobdiff - test/T270-author-order.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T270-author-order.sh
index 6ffeffc719476630c21055dc978d7d934df371c8..9124ece6f911a8f9862dfc1d008a45680fab90d0 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="author reordering;"
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_begin_subtest "Adding parent message"
 generate_message [body]=findme [id]=new-parent-id [subject]=author-reorder-threadtest '[from]="User <user@example.com>"' '[date]="Sat, 01 Jan 2000 12:00:00 -0000"'