1 Return-Path: <markwalters1009@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 4DF96431FBF
\r
6 for <notmuch@notmuchmail.org>; Sat, 24 Nov 2012 05:21:12 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,
\r
14 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id JH8ayM7VB-54 for <notmuch@notmuchmail.org>;
\r
18 Sat, 24 Nov 2012 05:21:11 -0800 (PST)
\r
19 Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com
\r
20 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
21 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
22 8C46B431FAF for <notmuch@notmuchmail.org>; Sat, 24 Nov 2012 05:21:06 -0800
\r
24 Received: by mail-wg0-f45.google.com with SMTP id dq11so3973547wgb.2
\r
25 for <notmuch@notmuchmail.org>; Sat, 24 Nov 2012 05:21:05 -0800 (PST)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
28 bh=Bt32qD1QMGGGyalCx10DSAJVfr5+8PuThGD3aztG5Bw=;
\r
29 b=xIl9PMv8Z/FmOiX5R3pmg9tDsW+Cl4UUzvidEGHNBbQYrQ5tGxlatArjxdD9jCeI4Q
\r
30 fS07+mv+eBMN7cVnZvyRZ4VJQfrA8T91T/RUb6IEZ7SVmSfp8ILg3G7yi5HV5FBetjUq
\r
31 kj6uCT1LR/g0202+UfK1orN5jTnzLjUR7pIJvDCOLsEX9nziyLbxQkyRJjCksPDH5VuO
\r
32 MXio+Av2xtnFQpw2Kgydyc/Bbe4+jT6QF0vmvnw6dvEslBn545T+IRnYv0CrouxnL0B5
\r
33 tAuL2dP+0vW2DnH57hu+d5LkmN2/A1TY70WBwsii+B2bLMxpZ2NFsCB1eu3T76GFFBec
\r
35 Received: by 10.180.86.36 with SMTP id m4mr1017631wiz.5.1353763265379;
\r
36 Sat, 24 Nov 2012 05:21:05 -0800 (PST)
\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])
\r
38 by mx.google.com with ESMTPS id fh10sm14257762wib.3.2012.11.24.05.21.04
\r
39 (version=TLSv1/SSLv3 cipher=OTHER);
\r
40 Sat, 24 Nov 2012 05:21:04 -0800 (PST)
\r
41 From: markwalters1009 <markwalters1009@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH v2 2/7] test: for the new query from stdin functionality
\r
44 Date: Sat, 24 Nov 2012 13:20:51 +0000
\r
45 Message-Id: <1353763256-32336-3-git-send-email-markwalters1009@gmail.com>
\r
46 X-Mailer: git-send-email 1.7.9.1
\r
47 In-Reply-To: <1353763256-32336-1-git-send-email-markwalters1009@gmail.com>
\r
48 References: <1353763256-32336-1-git-send-email-markwalters1009@gmail.com>
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Sat, 24 Nov 2012 13:21:12 -0000
\r
63 From: Mark Walters <markwalters1009@gmail.com>
\r
66 test/tagging | 9 +++++++++
\r
67 1 files changed, 9 insertions(+), 0 deletions(-)
\r
69 diff --git a/test/tagging b/test/tagging
\r
70 index 980ff92..eb7d61c 100755
\r
73 @@ -19,6 +19,15 @@ test_expect_equal "$output" "\
\r
74 thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; One (inbox tag3 unread)
\r
75 thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Two (inbox tag3 unread)"
\r
77 +test_begin_subtest "Adding tags. Query from stdin"
\r
78 +echo -n "subject:One" | notmuch tag +intag1 +intag2 -- -
\r
80 +output=$(notmuch search \* | notmuch_search_sanitize)
\r
81 +test_expect_equal "$output" "\
\r
82 +thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; One (inbox intag1 intag2 tag3 unread)
\r
83 +thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Two (inbox tag3 unread)"
\r
84 +notmuch tag -intag1 -intag2 \*
\r
86 test_expect_code 1 "No tag operations" 'notmuch tag One'
\r
87 test_expect_code 1 "No query" 'notmuch tag +tag2'
\r