]> 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 7c562fb9e3537c139f058bd2510b72b02ae988c1..b87182323b7209fcf108a3318a0dfd193db98ce4 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="From line heuristics (with multiple configured addresses)"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 test_begin_subtest "Magic from guessing (nothing to go on)"
 add_message '[from]="Sender <sender@example.com>"' \