]> git.notmuchmail.org Git - notmuch/blobdiff - test/T480-hex-escaping.sh
test: make script exit (1) if it "fails" to source (.) a file
[notmuch] / test / T480-hex-escaping.sh
index ad50e1bcc0716a5ad587f0deb50b7e1912d8d893..10527b185fce927c8dab732d7b6ce7d816017812 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="hex encoding and decoding"
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 test_begin_subtest "round trip"
 find $TEST_DIRECTORY/corpus -type f -print | sort | xargs cat > EXPECTED