]> git.notmuchmail.org Git - notmuch/blobdiff - test/T170-sexp.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T170-sexp.sh
index db142e49683d2279f845b8aa6a3351f1b1d79a60..1125fdc91ec09ff741d5284f38b303f38144f0f7 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="--format=sexp output"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 test_begin_subtest "Show message: sexp"
 add_message "[subject]=\"sexp-show-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[bcc]=\"test_suite+bcc@notmuchmail.org\"" "[reply-to]=\"test_suite+replyto@notmuchmail.org\"" "[body]=\"sexp-show-message\""