]> git.notmuchmail.org Git - notmuch/blobdiff - test/T420-emacs-test-functions.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T420-emacs-test-functions.sh
index 955c5f7ff295beacdf3dc52b61e5a2ef6b2561c0..bfc10be3b7b5101ee213a620a0628962336f9e09 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description="emacs test function sanity"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 test_begin_subtest "emacs test function sanity"
 test_emacs_expect_t 't'