From 7f7af27bd8320fd7a7e7ab50bf0c206da3775635 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 4 May 2019 20:57:45 +0000 Subject: [PATCH] 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. --- test/T100-search-by-folder.sh | 1 - test/T650-regexp-query.sh | 1 - 2 files changed, 2 deletions(-) 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