]> git.notmuchmail.org Git - notmuch/blobdiff - test/T020-compact.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T020-compact.sh
index a3d7380e81c8c12f1a685ca1f4e61cac292ea63c..58cd2ba74cefd7f9a1b6fa6808be7fd77c424a1c 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='"notmuch compact"'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 add_message '[subject]=One'
 add_message '[subject]=Two'