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