[PATCH 1/3] test: fix count test

Michal Nazarewicz mina86 at mina86.com
Wed Dec 5 12:13:34 PST 2012


Hmm, I thought I've already replied to this email, but it still sticks
as unread.  In case I did, sorry for duplicate.

On Wed, Dec 05 2012, Jani Nikula wrote:
> Please try this patch, which should pass if everything were all right:
>
> diff --git a/test/count b/test/count
> index 300b171..ecae40e 100755
> --- a/test/count
> +++ b/test/count
> @@ -6,6 +6,11 @@ add_email_corpus
>  
>  SEARCH="\"*\""
>  
> +test_begin_subtest "check the query"
> +test_expect_equal \
> +    "`notmuch count ${SEARCH}`" \
> +    "`notmuch count '*'`"
> +
>  test_begin_subtest "message count is the default for notmuch count"
>  test_expect_equal \
>      "`notmuch search --output=messages ${SEARCH} | wc -l`" \

Yeah, you're right, sorry for the commotion.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: mpn at google.com>--------------ooO--(_)--Ooo--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121205/dffdcb91/attachment.pgp>


More information about the notmuch mailing list