aboutsummaryrefslogtreecommitdiff
path: root/test/T050-new.sh
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2014-11-23 13:15:12 +0200
committerDavid Bremner <david@tethera.net>2015-01-01 16:47:47 +0100
commitc82a1745ac6fd83e025803a06711e913c86e6f47 (patch)
tree92dcbbd965330ffb7f45fb08e376134ec9bb7e5c /test/T050-new.sh
parentc86353aa9a0c6ac4699676d99968ad718c14d77b (diff)
lib: drop the deprecation message for single-message mbox files
We generally do not support mbox files, but for historical reasons we've supported single-message mbox files, with a deprecation message. We've tried dropping the support altogether, but backed out of it because we'd need to stop indexing them, while keeping support for previously indexed files. This would be more complicated than simply supporting single-message mbox files. Therefore, drop the deprecation message, and just silently accept single-message mboxes.
Diffstat (limited to 'test/T050-new.sh')
-rwxr-xr-xtest/T050-new.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/T050-new.sh b/test/T050-new.sh
index ad46ee6d..7119356f 100755
--- a/test/T050-new.sh
+++ b/test/T050-new.sh
@@ -173,11 +173,7 @@ Subject: Test mbox message 1
Body.
EOF
output=$(NOTMUCH_NEW 2>&1)
-test_expect_equal "$output" \
-"Warning: ${MAIL_DIR}/mbox_file1 is an mbox containing a single message,
-likely caused by misconfigured mail delivery. Support for single-message
-mboxes is deprecated and may be removed in the future.
-Added 1 new message to the database."
+test_expect_equal "$output" "Added 1 new message to the database."
# This test requires that notmuch new has been run at least once.
test_begin_subtest "Skip and report non-mail files"