]> git.notmuchmail.org Git - notmuch/blobdiff - test/T460-emacs-tree.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T460-emacs-tree.sh
index 958ff888a8652127a855ffe2509af61e247cd11a..dc5978419be770370bb9f9fba228429d3625ad2f 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description="emacs tree view interface"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 EXPECTED=$TEST_DIRECTORY/tree.expected-output