]> git.notmuchmail.org Git - notmuch/blobdiff - test/T110-search-position-overlap-bug.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T110-search-position-overlap-bug.sh
index 2a4238f95fc93ca48830b6d13f113bf6fe7b6268..f4d5ee1479bae98b8d52f29682aefa66cc50b271 100755 (executable)
@@ -18,7 +18,7 @@
 # id:3wd4o8wa7fx.fsf@testarossa.amd.com
 
 test_description='that notmuch does not overlap term positions'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 add_message '[to]="a@b.c, x@y.z"'