]> git.notmuchmail.org Git - notmuch/blobdiff - test/T300-encoding.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T300-encoding.sh
index 8d201c7e8aa42d94c316c3e21a51658c58843de0..2c656a1e0950fdcfc72e8599a9b605b047dbe324 100755 (executable)
@@ -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"' \