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 1FD15431FAF
\r
6 for <notmuch@notmuchmail.org>; Mon, 7 Oct 2013 15:34:12 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 nOvjdI0lBbpQ for <notmuch@notmuchmail.org>;
\r
16 Mon, 7 Oct 2013 15:34:08 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 622B5431FD6
\r
20 for <notmuch@notmuchmail.org>; Mon, 7 Oct 2013 15:33:37 -0700 (PDT)
\r
21 X-AuditID: 1209190d-b7f528e0000009b4-d1-525336c0adc6
\r
22 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])
\r
23 by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 42.30.02484.0C633525; Mon, 7 Oct 2013 18:33:36 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
\r
26 by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id r97MXQhb008285;
\r
27 Mon, 7 Oct 2013 18:33:26 -0400
\r
28 Received: from drake.dyndns.org (26-4-172.dynamic.csail.mit.edu [18.26.4.172])
\r
29 (authenticated bits=0)
\r
30 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
31 by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r97MXNcU028501
\r
32 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
33 Mon, 7 Oct 2013 18:33:25 -0400
\r
34 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)
\r
35 (envelope-from <amdragon@mit.edu>)
\r
36 id 1VTJMh-0006bn-Km; Mon, 07 Oct 2013 18:33:23 -0400
\r
37 From: Austin Clements <amdragon@MIT.EDU>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH 04/11] test: Fix missing erase-buffer in emacs test
\r
40 Date: Mon, 7 Oct 2013 18:33:14 -0400
\r
41 Message-Id: <1381185201-25197-5-git-send-email-amdragon@mit.edu>
\r
42 X-Mailer: git-send-email 1.8.4.rc3
\r
43 In-Reply-To: <1381185201-25197-1-git-send-email-amdragon@mit.edu>
\r
44 References: <1381185201-25197-1-git-send-email-amdragon@mit.edu>
\r
45 X-Brightmail-Tracker:
\r
46 H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsUixCmqrHvALDjIYNF+a4vrN2cyOzB6PFt1
\r
47 izmAMYrLJiU1J7MstUjfLoEro2XqR+aC1ZwVr76+ZGxgnM3excjJISFgIrGiYysLhC0mceHe
\r
48 erYuRi4OIYF9jBLfp59jgnA2MErMnXSfEcI5zCSx+X8TC4Qzl1HiRFsHWD+bgIbEtv3LGUFs
\r
49 EQFpiZ13Z7N2MXJwMAuoSfzpUgEJCws4S0yasQxsNYuAqsSxtlusIDavgIPE6kkHoM5Qklh4
\r
50 ahtYnFPAUWLJxotsILYQUM3c/YtYJzDyL2BkWMUom5JbpZubmJlTnJqsW5ycmJeXWqRrpJeb
\r
51 WaKXmlK6iREcNpK8OxjfHVQ6xCjAwajEw5txNChIiDWxrLgy9xCjJAeTkijvGdPgICG+pPyU
\r
52 yozE4oz4otKc1OJDjBIczEoivAJGQDnelMTKqtSifJiUNAeLkjjvTQ77ICGB9MSS1OzU1ILU
\r
53 IpisDAeHkgRvGMhQwaLU9NSKtMycEoQ0EwcnyHAeoOELQGp4iwsSc4sz0yHypxgVpcR5Z4Mk
\r
54 BEASGaV5cL2wuH7FKA70ijDvVpAqHmBKgOt+BTSYCWiwLnsgyOCSRISUVAPjPI9Fny8Xb+Fh
\r
55 dFoXw5S4QSZRy2Kzwj7T8sav2Xe798/YUngl7nr2xyNzbp1eIRkowrqMReXAs2hRuelXtlik
\r
56 Zv+obvA7IFYVsfS50zpVE4d/WSEy29QZs1s9Wj9ukdNqcLizQfC6w2ZVPdEPh9sXc5kyHGZt
\r
57 MuoyCulnL2GQeDlb1XlDnY8SS3FGoqEWc1FxIgCUPgcjxgIAAA==
\r
58 X-BeenThere: notmuch@notmuchmail.org
\r
59 X-Mailman-Version: 2.1.13
\r
61 List-Id: "Use and development of the notmuch mail system."
\r
62 <notmuch.notmuchmail.org>
\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
66 List-Post: <mailto:notmuch@notmuchmail.org>
\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
70 X-List-Received-Date: Mon, 07 Oct 2013 22:34:12 -0000
\r
72 The first subprocess error exit code test assumed the *Notmuch errors*
\r
73 buffer would be empty. Rather than assuming, make it so.
\r
75 test/emacs | 5 ++++-
\r
76 1 file changed, 4 insertions(+), 1 deletion(-)
\r
78 diff --git a/test/emacs b/test/emacs
\r
79 index 5bc3efc..05295af 100755
\r
82 @@ -864,6 +864,8 @@ EOF
\r
83 chmod a+x notmuch_fail
\r
84 test_emacs "(let ((notmuch-command \"$PWD/notmuch_fail\"))
\r
85 (with-current-buffer \"*Messages*\" (erase-buffer))
\r
86 + (with-current-buffer (get-buffer-create \"*Notmuch errors*\")
\r
88 (notmuch-search \"tag:inbox\")
\r
90 (with-current-buffer \"*Messages*\"
\r
91 @@ -893,7 +895,8 @@ EOF
\r
92 chmod a+x notmuch_fail
\r
93 test_emacs "(let ((notmuch-command \"$PWD/notmuch_fail\"))
\r
94 (with-current-buffer \"*Messages*\" (erase-buffer))
\r
95 - (with-current-buffer \"*Notmuch errors*\" (erase-buffer))
\r
96 + (with-current-buffer (get-buffer-create \"*Notmuch errors*\")
\r
98 (notmuch-search \"tag:inbox\")
\r
100 (with-current-buffer \"*Messages*\"
\r