diff options
author | Jani Nikula <jani@nikula.org> | 2017-09-25 23:38:19 +0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2017-10-20 19:52:49 -0300 |
commit | a863de1e43ee34f6f5794a2759fdceb287e851aa (patch) | |
tree | 3e3b39e88ef26ea1952afdfca42134e3944d7fec /test/T220-reply.sh | |
parent | 0dd58ea7e7f2af3fea2ba747a49c1d8bb3cdeaad (diff) |
test: use $(dirname "$0") for sourcing test-lib.sh
Don't assume the tests are always run from within the source tree.
Diffstat (limited to 'test/T220-reply.sh')
-rwxr-xr-x | test/T220-reply.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T220-reply.sh b/test/T220-reply.sh index 4fb67ffb..ebe710f9 100755 --- a/test/T220-reply.sh +++ b/test/T220-reply.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash test_description="\"notmuch reply\" in several variations" -. ./test-lib.sh || exit 1 +. $(dirname "$0")/test-lib.sh || exit 1 test_begin_subtest "Basic reply" add_message '[from]="Sender <sender@example.com>"' \ |