]> git.notmuchmail.org Git - notmuch/blobdiff - test/T395-ruby.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T395-ruby.sh
index 8b8e6d24db534b0c45bb88f11e2bb3856c5a78da..d5cade8fbecd7d5ddd4a5c71f1f65470861703b7 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="ruby bindings"
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 if [ "${NOTMUCH_HAVE_RUBY_DEV}" = "0" ]; then
     test_subtest_missing_external_prereq_["ruby development files"]=t