]> git.notmuchmail.org Git - notmuch/blobdiff - performance-test/perf-test-lib.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / performance-test / perf-test-lib.sh
index 88601fc79f884bf418ca53ed320fbde4fdca5831..00d2f1c6050bb7330bba19e4a17a7bbe097cae42 100644 (file)
@@ -1,4 +1,4 @@
-. ./version.sh
+. ./version.sh || exit 1
 
 corpus_size=large
 
@@ -25,7 +25,7 @@ do
                echo "error: unknown performance test option '$1'" >&2; exit 1 ;;
        esac
 done
-. ../test/test-lib-common.sh
+. ../test/test-lib-common.sh || exit 1
 
 set -e