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=c61e22d5cb9a7e5b03f9fcdb9911b4b4a641af2b;hpb=65b17dab461ef847b418aff69bc53e697ec2d20b 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