]> git.notmuchmail.org Git - notmuch/blobdiff - test/T040-setup.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T040-setup.sh
index 998bd6e0798a26c0cc23cee47a8cdd8690d66f24..56efe1d57b496536166a8db1d90d3d2bc3b652a1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description='"notmuch setup"'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 test_begin_subtest "Notmuch new without a config suggests notmuch setup"
 output=$(notmuch --config=new-notmuch-config new 2>&1)