]> git.notmuchmail.org Git - notmuch/blobdiff - test/T100-search-by-folder.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T100-search-by-folder.sh
index 79c266e445f5fb8968979e65c0bd94dec6afca3c..a090f3d247c418605ee8f80cb59e059386aec690 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='"notmuch search" by folder: and path: (with variations)'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 add_message '[dir]=bad' '[subject]="To the bone"'
 add_message '[dir]=.' '[subject]="Top level"'