]> git.notmuchmail.org Git - notmuch/blobdiff - test/T050-new.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T050-new.sh
index 272ed417aa2eb8f4a6f9724b8bb540449f45c7fd..2035d29f529aa8c93922d5f98827fc12c5fd6cec 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='"notmuch new" in several variations'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 test_begin_subtest "No new messages"
 output=$(NOTMUCH_NEW --debug)