Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / 11 / aefdb308297339126ce634cc15fba0dee0f432
1 Return-Path: <jani@nikula.org>\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 F3036431FC0\r
6         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 14:04:20 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id h4x9IKWLC4QI for <notmuch@notmuchmail.org>;\r
17         Mon, 26 Mar 2012 14:04:20 -0700 (PDT)\r
18 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
19         [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id B9B37431FAF\r
22         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 14:04:19 -0700 (PDT)\r
23 Received: by mail-lpp01m010-f53.google.com with SMTP id c1so4613102lah.26\r
24         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 14:04:19 -0700 (PDT)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=google.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
28         :in-reply-to:references:x-gm-message-state;\r
29         bh=gFin9Am7ETGh0Ga2ek/yQtonq/pnoQhmIgKqNG/DH34=;\r
30         b=aPEtp1Uixov1JISX7xBelhyg+HQiOjUI5UjVnR0z0aklyDqIKm8DUP/f0WOCHRd7wm\r
31         4co2eMOY5twqyKCI/mDh4D5YvMpem/cFc67IIC2fN/DeeMBpAL5sOIPqaf/8gVE84b7o\r
32         qlDiJlgI0/sNvqt1G0OJVHTKHPTI771qXs2/sH3g8gK1xqvo4e3T8FXQFeAqFA7X3zmS\r
33         s7/pcArB2xIg8eA+7XrNPXD4E9lank4dxc4S8F94QPWPxSKI8o9iTTPCTPLXdOQ9k5m6\r
34         nQCOqdYZDx1waALxTB5LHpSFnUliUk6NPV1zuJciJKEckvPWRohgNmgc2g8RLnRG6bks\r
35         3HEw==\r
36 Received: by 10.152.111.161 with SMTP id ij1mr16971845lab.19.1332795859297;\r
37         Mon, 26 Mar 2012 14:04:19 -0700 (PDT)\r
38 Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi.\r
39         [84.248.80.253])\r
40         by mx.google.com with ESMTPS id c3sm10784847lbg.6.2012.03.26.14.04.17\r
41         (version=SSLv3 cipher=OTHER); Mon, 26 Mar 2012 14:04:18 -0700 (PDT)\r
42 From: Jani Nikula <jani@nikula.org>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH v3 1/4] test: add test for both adding and removing a tag at\r
45         the same time\r
46 Date: Tue, 27 Mar 2012 00:04:08 +0300\r
47 Message-Id:\r
48  <237b0c8e1deddea04aea30ced61c895ee4b1013c.1332795415.git.jani@nikula.org>\r
49 X-Mailer: git-send-email 1.7.5.4\r
50 In-Reply-To: <cover.1332795415.git.jani@nikula.org>\r
51 References: <cover.1332795415.git.jani@nikula.org>\r
52 In-Reply-To: <cover.1332795415.git.jani@nikula.org>\r
53 References: <cover.1332795415.git.jani@nikula.org>\r
54 X-Gm-Message-State:\r
55  ALoCoQk9rCht9egEs9dRv7Qr0phc7RhogvDl4ttwCQrjfZvzzC0iJOKMua3dFl+GlNpR6SqiH7IX\r
56 Cc: tomi.ollila@iki.fi\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Mon, 26 Mar 2012 21:04:21 -0000\r
70 \r
71 The current behaviour is that regardless of the order in which the\r
72 addition and removal of a tag are specified, the tag is added.\r
73 \r
74 Signed-off-by: Jani Nikula <jani@nikula.org>\r
75 ---\r
76  test/tagging |    8 ++++++++\r
77  1 files changed, 8 insertions(+), 0 deletions(-)\r
78 \r
79 diff --git a/test/tagging b/test/tagging\r
80 index 77202bf..3acf1bc 100755\r
81 --- a/test/tagging\r
82 +++ b/test/tagging\r
83 @@ -38,4 +38,12 @@ test_expect_equal "$output" "\\r
84  thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; One (:\"  inbox tag1 unread)\r
85  thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; Two (inbox tag1 unread)"\r
86  \r
87 +test_begin_subtest "Tagging order"\r
88 +notmuch tag +tag4 -tag4 One\r
89 +notmuch tag -tag4 +tag4 Two\r
90 +output=$(notmuch search \* | notmuch_search_sanitize)\r
91 +test_expect_equal "$output" "\\r
92 +thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; One (:\"  inbox tag1 tag4 unread)\r
93 +thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; Two (inbox tag1 tag4 unread)"\r
94 +\r
95  test_done\r
96 -- \r
97 1.7.5.4\r
98 \r