]> git.cworth.org Git - notmuch/blobdiff - test/T030-config.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T030-config.sh
index 7d14a85f9b4696ccfc88ea584b3f3240341e58e9..f404908a4a1c71f3f65e92c375d988604ffa469c 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description='"notmuch config"'
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_begin_subtest "Get string value"
 test_expect_equal "$(notmuch config get user.name)" "Notmuch Test Suite"