]> git.notmuchmail.org Git - notmuch/blobdiff - test/T340-maildir-sync.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T340-maildir-sync.sh
index b473ae4e1c0f8b0d04c25bd64eeed699935b06d6..7fece5f2302c1d11f1cdeb861576440b12a1f618 100755 (executable)
@@ -2,7 +2,7 @@
 
 test_description="maildir synchronization"
 
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 # Create the expected maildir structure
 mkdir $MAIL_DIR/cur