]> git.notmuchmail.org Git - notmuch/blobdiff - test/T620-lock.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T620-lock.sh
index f46475e8ddccf6dc1926b7cf198da3d088592194..085ffe4377c2c3a034bd991dc1450723b6004549 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="locking"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 if [ "${NOTMUCH_HAVE_XAPIAN_DB_RETRY_LOCK}" = "0" ]; then
     test_subtest_missing_external_prereq_["lock retry support"]=t