From: Jani Nikula <jani@nikula.org>
To: notmuch@notmuchmail.org
Subject: [PATCH v2 5/7] test: test notmuch count --output=files
Date: Sun, 9 Jun 2013 14:03:11 +0300 [thread overview]
Message-ID: <9da399e33dc5cde22aabd3015dfd36dc98f67f45.1370775663.git.jani@nikula.org> (raw)
In-Reply-To: <cover.1370775663.git.jani@nikula.org>
In-Reply-To: <cover.1370775663.git.jani@nikula.org>
---
test/count | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/test/count b/test/count
index 05713fd..da86c8c 100755
--- a/test/count
+++ b/test/count
@@ -28,6 +28,16 @@ test_expect_equal \
"$((`notmuch search '*' | wc -l`))" \
"`notmuch count --output=threads '*'`"
+test_begin_subtest "files count"
+test_expect_equal \
+ "$((`notmuch search --output=files '*' | wc -l`))" \
+ "`notmuch count --output=files '*'`"
+
+test_begin_subtest "files count for a duplicate message-id"
+test_expect_equal \
+ "2" \
+ "`notmuch count --output=files id:20091117232137.GA7669@griffis1.net`"
+
test_begin_subtest "count with no matching messages"
test_expect_equal \
"0" \
--
1.7.10.4
next prev parent reply other threads:[~2013-06-09 11:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-09 11:03 [PATCH v2 0/7] cli: better tooling support for duplicate messages Jani Nikula
2013-06-09 11:03 ` [PATCH v2 1/7] cli: add --duplicate=N option to notmuch search Jani Nikula
2013-06-09 20:22 ` Mark Walters
2013-06-10 16:49 ` Jani Nikula
2013-06-10 15:57 ` [PATCH v3] " Jani Nikula
2013-06-09 11:03 ` [PATCH v2 2/7] test: test notmuch search --duplicate=N Jani Nikula
2013-06-09 11:03 ` [PATCH v2 3/7] man: document " Jani Nikula
2013-06-09 13:20 ` Mark Walters
2013-06-09 13:25 ` Mark Walters
2013-06-10 16:39 ` Jani Nikula
2013-06-10 16:28 ` [PATCH v3] " Jani Nikula
2013-06-09 11:03 ` [PATCH v2 4/7] cli: add --output=files option to notmuch count Jani Nikula
2013-06-09 11:03 ` Jani Nikula [this message]
2013-06-09 11:03 ` [PATCH v2 6/7] man: document notmuch count --output=files Jani Nikula
2013-06-09 11:03 ` [PATCH v2 7/7] NEWS: cli options for improved duplicate message handling Jani Nikula
2013-06-10 15:30 ` [PATCH v2 0/7] cli: better tooling support for duplicate messages Tomi Ollila
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9da399e33dc5cde22aabd3015dfd36dc98f67f45.1370775663.git.jani@nikula.org \
--to=jani@nikula.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).