X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT160-json.sh;h=765b78a6746dc84c0b530b44a2bef58005eb5643;hp=07955a2bb90ac8441cdcee5ab3b27d3b9ea910c7;hb=a863de1e43ee34f6f5794a2759fdceb287e851aa;hpb=0dd58ea7e7f2af3fea2ba747a49c1d8bb3cdeaad diff --git a/test/T160-json.sh b/test/T160-json.sh index 07955a2b..765b78a6 100755 --- a/test/T160-json.sh +++ b/test/T160-json.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash test_description="--format=json output" -. ./test-lib.sh || exit 1 +. $(dirname "$0")/test-lib.sh || exit 1 test_begin_subtest "Show message: json" add_message "[subject]=\"json-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]=\"json-show-message\""