Re: notmuch and "mute" -- useful to anyone?
[notmuch-archives.git] / 24 / f6289fef990cbeacf645f478597d04936066c7
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 EDF4540DEF6\r
6         for <notmuch@notmuchmail.org>; Wed, 17 Nov 2010 11:32:33 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\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 AEujEi+T0tFx for <notmuch@notmuchmail.org>;\r
16         Wed, 17 Nov 2010 11:32:23 -0800 (PST)\r
17 X-Greylist: delayed 300 seconds by postgrey-1.32 at olra;\r
18         Wed, 17 Nov 2010 11:32:23 PST\r
19 Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU\r
20         [18.9.25.13])\r
21         by olra.theworths.org (Postfix) with ESMTP id B732940DEF4\r
22         for <notmuch@notmuchmail.org>; Wed, 17 Nov 2010 11:32:23 -0800 (PST)\r
23 X-AuditID: 1209190d-b7cacae000000a14-c2-4ce42c9a4d4b\r
24 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])\r
25         by dmz-mailsec-scanner-2.mit.edu (Symantec Brightmail Gateway) with\r
26         SMTP id DF.24.02580.A9C24EC4; Wed, 17 Nov 2010 14:27:22 -0500 (EST)\r
27 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
28         by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id oAHJRLA3018183\r
29         for <notmuch@notmuchmail.org>; Wed, 17 Nov 2010 14:27:22 -0500\r
30 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
31         (authenticated bits=0)\r
32         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
33         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id oAHJRKkG007352\r
34         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
35         for <notmuch@notmuchmail.org>; Wed, 17 Nov 2010 14:27:21 -0500 (EST)\r
36 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.72)\r
37         (envelope-from <amdragon@mit.edu>) id 1PInf6-0001Dz-Mu\r
38         for notmuch@notmuchmail.org; Wed, 17 Nov 2010 14:27:20 -0500\r
39 Date: Wed, 17 Nov 2010 14:27:20 -0500\r
40 From: Austin Clements <amdragon@MIT.EDU>\r
41 To: notmuch@notmuchmail.org\r
42 Subject: [PATCH 1/4] Fix handling of broken tests.\r
43 Message-ID: <20101117192720.GS2439@mit.edu>\r
44 MIME-Version: 1.0\r
45 Content-Type: text/plain; charset=us-ascii\r
46 Content-Disposition: inline\r
47 User-Agent: Mutt/1.5.20 (2009-06-14)\r
48 X-Brightmail-Tracker: AAAAAA==\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\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: Wed, 17 Nov 2010 19:32:34 -0000\r
62 \r
63 Make sure to close the subtest for test_expect_equal_failure, just\r
64 like in test_expect_equal.\r
65 ---\r
66  test/test-lib.sh |    2 ++\r
67  1 files changed, 2 insertions(+), 0 deletions(-)\r
68  mode change 100644 => 100755 test/test-lib.sh\r
69 \r
70 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
71 old mode 100644\r
72 new mode 100755\r
73 index 04a4c14..da91de8\r
74 --- a/test/test-lib.sh\r
75 +++ b/test/test-lib.sh\r
76 @@ -440,6 +440,8 @@ test_expect_equal ()\r
77  \r
78  test_expect_equal_failure ()\r
79  {\r
80 +       exec 1>&6 2>&7          # Restore stdout and stderr\r
81 +       inside_subtest=\r
82         test "$#" = 3 && { prereq=$1; shift; } || prereq=\r
83         test "$#" = 2 ||\r
84         error "bug in the test script: not 2 or 3 parameters to test_expect_equal"\r
85 -- \r
86 1.7.2.3\r
87 \r