]> git.notmuchmail.org Git - notmuch/blobdiff - test/T470-missing-headers.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T470-missing-headers.sh
index 32031e3174d3005413ac0d652b0654f30cfed21f..4bf5d285c49b43c567f94fb85c556b5d34317efc 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='messages with missing headers'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 # Notmuch requires at least one of from, subject, or to or it will
 # ignore the file.  Generate two messages so that together they cover