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/T300-encoding.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/T300-encoding.sh')
| -rwxr-xr-x | test/T300-encoding.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T300-encoding.sh b/test/T300-encoding.sh index 8d201c7e..2c656a1e 100755 --- a/test/T300-encoding.sh +++ b/test/T300-encoding.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash test_description="encoding issues" -. ./test-lib.sh || exit 1 +. $(dirname "$0")/test-lib.sh || exit 1 test_begin_subtest "Message with text of unknown charset" add_message '[content-type]="text/plain; charset=unknown-8bit"' \ |
