From: Jameson Graef Rollins Date: Sat, 4 May 2019 20:57:45 +0000 (+0000) Subject: tests: remove some redundant pre-cleanup of the corpus MAIL_DIR X-Git-Tag: archive/debian/0.29_rc0-1~61 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=7f7af27bd8320fd7a7e7ab50bf0c206da3775635 tests: remove some redundant pre-cleanup of the corpus MAIL_DIR add_email_corpus itself does an rm -rf $MAIL_DIR, so these are not necessary. --- diff --git a/test/T100-search-by-folder.sh b/test/T100-search-by-folder.sh index a090f3d2..409cfdcc 100755 --- a/test/T100-search-by-folder.sh +++ b/test/T100-search-by-folder.sh @@ -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 diff --git a/test/T650-regexp-query.sh b/test/T650-regexp-query.sh index 92334ba0..43af3b47 100755 --- a/test/T650-regexp-query.sh +++ b/test/T650-regexp-query.sh @@ -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