]> git.notmuchmail.org Git - notmuch/commitdiff
test:Expect multiple filenames for message with multiple files
authorMark Anderson <ma.skies@gmail.com>
Fri, 24 Jun 2011 22:36:40 +0000 (16:36 -0600)
committerCarl Worth <cworth@cworth.org>
Tue, 28 Jun 2011 19:05:50 +0000 (12:05 -0700)
Update the test mail corpus to have two files with the same content to
expose the bug where a single message with multiple filenames only
reports a single filename.

Update expected results for search --output=files to match new
behavior for multiple files corresponding to a single message

Signed-off-by: Mark Anderson <ma.skies@gmail.com>
test/corpus/cur/51:2, [new file with mode: 0644]
test/search-output

diff --git a/test/corpus/cur/51:2, b/test/corpus/cur/51:2,
new file mode 100644 (file)
index 0000000..f522f69
--- /dev/null
@@ -0,0 +1,12 @@
+From: "Aron Griffis" <agriffis@n01se.net>
+To: notmuch@notmuchmail.org
+Date: Tue, 17 Nov 2009 18:21:38 -0500
+Subject: [notmuch] archive
+Message-ID: <20091117232137.GA7669@griffis1.net>
+
+Just subscribed, I'd like to catch up on the previous postings,
+but the archive link seems to be bogus?
+
+Thanks,
+Aron
+
index 3c875cd122a22e5d3fcd3d48dde358ecc26e83d9..10291c3b79d8d711c9fa8206fea601235eed61c2 100755 (executable)
@@ -207,6 +207,7 @@ MAIL_DIR/cur/22:2,
 MAIL_DIR/cur/21:2,
 MAIL_DIR/cur/19:2,
 MAIL_DIR/cur/18:2,
+MAIL_DIR/cur/51:2,
 MAIL_DIR/cur/20:2,
 MAIL_DIR/cur/17:2,
 MAIL_DIR/cur/16:2,
@@ -263,6 +264,7 @@ cat <<EOF >EXPECTED
 "MAIL_DIR/cur/21:2,",
 "MAIL_DIR/cur/19:2,",
 "MAIL_DIR/cur/18:2,",
+"MAIL_DIR/cur/51:2,",
 "MAIL_DIR/cur/20:2,",
 "MAIL_DIR/cur/17:2,",
 "MAIL_DIR/cur/16:2,",