[PATCH 4/4] Update NEWS for user.other_name
[notmuch-archives.git] / fe / 21c30ac37de77e292afc9f8e520900c9e4c68e
1 Return-Path: <amdragon@mit.edu>\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 8E070431FC0\r
6         for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 10:55:23 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 6RjVV4WtehGp for <notmuch@notmuchmail.org>;\r
16         Sat, 29 Sep 2012 10:55:22 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU\r
18         [18.7.68.37])\r
19         by olra.theworths.org (Postfix) with ESMTP id C0F50431FBF\r
20         for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 10:55:21 -0700 (PDT)\r
21 X-AuditID: 12074425-b7fcc6d00000091f-dc-5067360995ba\r
22 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])\r
23         by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id B3.C5.02335.90637605; Sat, 29 Sep 2012 13:55:21 -0400 (EDT)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id q8THtKsk018532; \r
27         Sat, 29 Sep 2012 13:55:20 -0400\r
28 Received: from drake.dyndns.org\r
29         (209-6-116-242.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com\r
30         [209.6.116.242]) (authenticated bits=0)\r
31         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
32         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q8THtJvP004646\r
33         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
34         Sat, 29 Sep 2012 13:55:20 -0400 (EDT)\r
35 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
36         (envelope-from <amdragon@mit.edu>)\r
37         id 1TI1G2-0003Em-U0; Sat, 29 Sep 2012 13:55:18 -0400\r
38 From: Austin Clements <amdragon@MIT.EDU>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: [PATCH 1/3] test: Clear test-ouput output file before running Emacs\r
41         tests\r
42 Date: Sat, 29 Sep 2012 13:55:12 -0400\r
43 Message-Id: <1348941314-8377-2-git-send-email-amdragon@mit.edu>\r
44 X-Mailer: git-send-email 1.7.10\r
45 In-Reply-To: <1348941314-8377-1-git-send-email-amdragon@mit.edu>\r
46 References: <1348941314-8377-1-git-send-email-amdragon@mit.edu>\r
47 X-Brightmail-Tracker:\r
48  H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUixCmqrMtplh5gMGm5qMX1mzOZHRg9nq26\r
49         xRzAGMVlk5Kak1mWWqRvl8CVcezndKaC2wIVzX0z2BoYz/F2MXJySAiYSPzZMI8JwhaTuHBv\r
50         PVsXIxeHkMA+Rol53+4zQjgbGCXeXLnGDuE8YpI4teQbC4Qzl1Hi3MkeVpB+NgENiW37lzOC\r
51         2CIC0hI7784GinNwMAuoSfzpUgExhQWCJPbNqAGpYBFQlbi/ZwcbiM0rYC/x6fNiNogr5CWe\r
52         3u8DszkFHCQOTNkGZgsB1dw8PItpAiP/AkaGVYyyKblVurmJmTnFqcm6xcmJeXmpRboWermZ\r
53         JXqpKaWbGEFBw+6iuoNxwiGlQ4wCHIxKPLw3T6cGCLEmlhVX5h5ilORgUhLlddFJDxDiS8pP\r
54         qcxILM6ILyrNSS0+xCjBwawkwptRDFTOm5JYWZValA+TkuZgURLnvZFy019IID2xJDU7NbUg\r
55         tQgmK8PBoSTBe9sEaKhgUWp6akVaZk4JQpqJgxNkOA/Q8N0gNbzFBYm5xZnpEPlTjIpS4rwb\r
56         QRICIImM0jy4XlhUv2IUB3pFmPcGSBUPMCHAdb8CGswENLhqVRrI4JJEhJRUA6NhT0/roren\r
57         Fa9qhu99uF9509b433xejSJCk1htfCp9zgseYGw/fjYoQ6Oouz291vbyig2iyU9e+n/pZHrB\r
58         VvXzS/bd/8+Z3GIybptbHshexe9r8XOL5qd1DNNt3py9GrOwUiJVqpvNT+y9CdfiZXMMruSq\r
59         FvyrfvPleXv6GsWt32a2P3i/do4SS3FGoqEWc1FxIgCK/YaAxQIAAA==\r
60 X-BeenThere: notmuch@notmuchmail.org\r
61 X-Mailman-Version: 2.1.13\r
62 Precedence: list\r
63 List-Id: "Use and development of the notmuch mail system."\r
64         <notmuch.notmuchmail.org>\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
68 List-Post: <mailto:notmuch@notmuchmail.org>\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
72 X-List-Received-Date: Sat, 29 Sep 2012 17:55:24 -0000\r
73 \r
74 Most Emacs tests end with a call to (test-output), which saves the\r
75 buffer to a filed called OUTPUT.  Previously, if the test code failed\r
76 with an exception before this call, the test framework would then\r
77 compare against the OUTPUT file from the last Emacs test, resulting in\r
78 confusing diffs.\r
79 \r
80 This requires one tweak to an emacs test that made two calls to\r
81 test_emacs and expected an OUTPUT file from the first call.  We simply\r
82 reverse the order of the test_emacs calls.\r
83 ---\r
84  test/emacs       |    4 ++--\r
85  test/test-lib.sh |    8 ++++++++\r
86  2 files changed, 10 insertions(+), 2 deletions(-)\r
87 \r
88 diff --git a/test/emacs b/test/emacs\r
89 index 5d118b6..174a9ac 100755\r
90 --- a/test/emacs\r
91 +++ b/test/emacs\r
92 @@ -653,6 +653,8 @@ test_expect_equal "$(cat OUTPUT)" "thread:XXX"\r
93  test_begin_subtest 'notmuch-show-advance-and-archive with invisible signature'\r
94  message1='id:20091118010116.GC25380@dottiness.seas.harvard.edu'\r
95  message2='id:1258491078-29658-1-git-send-email-dottedmag@dottedmag.net'\r
96 +test_emacs "(notmuch-show \"$message2\")\r
97 +           (test-output \"EXPECTED\")"\r
98  test_emacs "(notmuch-search \"$message1 or $message2\")\r
99             (notmuch-test-wait)\r
100             (notmuch-search-show-thread)\r
101 @@ -660,8 +662,6 @@ test_emacs "(notmuch-search \"$message1 or $message2\")\r
102             (redisplay)\r
103             (notmuch-show-advance-and-archive)\r
104             (test-output)"\r
105 -test_emacs "(notmuch-show \"$message2\")\r
106 -           (test-output \"EXPECTED\")"\r
107  test_expect_equal_file OUTPUT EXPECTED\r
108  \r
109  test_begin_subtest "Refresh show buffer"\r
110 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
111 index f34b1fb..7448b45 100644\r
112 --- a/test/test-lib.sh\r
113 +++ b/test/test-lib.sh\r
114 @@ -985,6 +985,14 @@ test_emacs () {\r
115                 done\r
116         fi\r
117  \r
118 +       # Clear test-output output file.  Most Emacs tests end with a\r
119 +       # call to (test-output).  If the test code fails with an\r
120 +       # exception before this call, the output file won't get\r
121 +       # updated.  Since we don't want to compare against an output\r
122 +       # file from another test, so start out with an empty file.\r
123 +       rm -f OUTPUT\r
124 +       touch OUTPUT\r
125 +\r
126         emacsclient --socket-name="$EMACS_SERVER" --eval "(progn $@)"\r
127  }\r
128  \r
129 -- \r
130 1.7.10\r
131 \r