X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT100-search-by-folder.sh;h=409cfdcc851c2eeb9f4011fdefa60f875ea6b138;hp=79c266e445f5fb8968979e65c0bd94dec6afca3c;hb=4b1a8fd18364a6e1f1a6e987c64aae760505999e;hpb=aa2abd2958f941caba6ffc8052dd00550f7e7e39 diff --git a/test/T100-search-by-folder.sh b/test/T100-search-by-folder.sh index 79c266e4..409cfdcc 100755 --- a/test/T100-search-by-folder.sh +++ b/test/T100-search-by-folder.sh @@ -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"' @@ -56,7 +56,6 @@ output=$(notmuch search folder:duplicate/bad/olds | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Bears (inbox unread)" # folder: and path: searches with full corpus -rm -rf $MAIL_DIR add_email_corpus # add some more dupes