]> git.notmuchmail.org Git - notmuch/blobdiff - test/T280-from-guessing.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T280-from-guessing.sh
index 6dfaa40a9478ccdc6bf415ff0fb4fe66d89c88d7..b87182323b7209fcf108a3318a0dfd193db98ce4 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="From line heuristics (with multiple configured addresses)"
-. ./test-lib.sh
+. $(dirname "$0")/test-lib.sh || exit 1
 
 test_begin_subtest "Magic from guessing (nothing to go on)"
 add_message '[from]="Sender <sender@example.com>"' \