]> git.notmuchmail.org Git - notmuch/commitdiff
tests: remove some redundant pre-cleanup of the corpus MAIL_DIR
authorJameson Graef Rollins <jrollins@finestructure.net>
Sat, 4 May 2019 20:57:45 +0000 (20:57 +0000)
committerDavid Bremner <david@tethera.net>
Tue, 7 May 2019 09:52:35 +0000 (06:52 -0300)
add_email_corpus itself does an rm -rf $MAIL_DIR, so these are not necessary.

test/T100-search-by-folder.sh
test/T650-regexp-query.sh

index a090f3d247c418605ee8f80cb59e059386aec690..409cfdcc851c2eeb9f4011fdefa60f875ea6b138 100755 (executable)
@@ -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
index 92334ba0d78f1e8ed789672d8535de7c602f3f99..43af3b47ced7826ed0a710a3bda3e9df1b54c2a1 100755 (executable)
@@ -47,7 +47,6 @@ output=$(notmuch search 'path:/^bad$/' | notmuch_search_sanitize)
 test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; To the bone (inbox unread)"
 
 # Use "standard" corpus from here on.
-rm -rf $MAIL_DIR
 add_email_corpus
 
 notmuch search --output=messages from:cworth > cworth.msg-ids