]> git.notmuchmail.org Git - notmuch/blobdiff - test/T100-search-by-folder.sh
cli/{show,reply}: skip over legacy-display parts
[notmuch] / test / T100-search-by-folder.sh
index 79c266e445f5fb8968979e65c0bd94dec6afca3c..409cfdcc851c2eeb9f4011fdefa60f875ea6b138 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"'
@@ -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