1 Return-Path: <sojkam1@fel.cvut.cz>
\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 arlo.cworth.org (Postfix) with ESMTP id 6EBDD6DE17AC
\r
6 for <notmuch@notmuchmail.org>; Tue, 29 Dec 2015 00:52:36 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-1.411 tagged_above=-999 required=5 tests=[AWL=1.439,
\r
12 RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.55] autolearn=disabled
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id GIqPcCHdWV_S for <notmuch@notmuchmail.org>;
\r
16 Tue, 29 Dec 2015 00:52:34 -0800 (PST)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by arlo.cworth.org (Postfix) with ESMTP id DE99B6DE179D
\r
19 for <notmuch@notmuchmail.org>; Tue, 29 Dec 2015 00:52:33 -0800 (PST)
\r
20 Received: from localhost (unknown [192.168.200.7])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 6402B19F466F
\r
22 for <notmuch@notmuchmail.org>; Tue, 29 Dec 2015 09:52:31 +0100 (CET)
\r
23 X-Virus-Scanned: IMAP STYX AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new, port 10044)
\r
26 with ESMTP id OVtfknc14r0E for <notmuch@notmuchmail.org>;
\r
27 Tue, 29 Dec 2015 09:52:29 +0100 (CET)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id E250B19F43D1
\r
30 for <notmuch@notmuchmail.org>; Tue, 29 Dec 2015 09:52:29 +0100 (CET)
\r
31 Received: from wsh by steelpick.2x.cz with local (Exim 4.86)
\r
32 (envelope-from <sojkam1@fel.cvut.cz>)
\r
33 id 1aDq17-0003jo-Gw; Tue, 29 Dec 2015 09:52:29 +0100
\r
34 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
35 To: notmuch@notmuchmail.org
\r
36 Subject: [PATCH v2] test: Unset ALTERNATE_EDITOR before running emacsclient
\r
37 Date: Tue, 29 Dec 2015 09:52:17 +0100
\r
38 Message-Id: <1451379137-14330-1-git-send-email-sojkam1@fel.cvut.cz>
\r
39 X-Mailer: git-send-email 2.6.4
\r
40 In-Reply-To: <m28u4e2on4.fsf@guru.guru-group.fi>
\r
41 References: <m28u4e2on4.fsf@guru.guru-group.fi>
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.20
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Tue, 29 Dec 2015 08:52:36 -0000
\r
56 ALTERNATE_EDITOR causes emacsclient to run an alternate editor if the
\r
57 emacs server is not ready. This can collide with intended
\r
58 functionality in test-lib.sh.
\r
60 If the ALTERNATE_EDITOR is set but empty, emacsclient runs emacs
\r
61 daemon and tries to connect to it. When this happens the emacs run by
\r
62 test-lib.sh fails to start the server and the subsequent attempts to
\r
63 use the server fail because the daemon started by emacsclient does not
\r
64 know about notmuch-test-progn. This leads to test suite failure due to
\r
65 time out on any emacs test.
\r
67 test/test-lib.sh | 3 +++
\r
68 1 file changed, 3 insertions(+)
\r
70 diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
71 index 126911f..270c718 100644
\r
72 --- a/test/test-lib.sh
\r
73 +++ b/test/test-lib.sh
\r
74 @@ -82,6 +82,9 @@ unset CDPATH
\r
79 +unset ALTERNATE_EDITOR
\r
83 # A regexp to match 5 and 40 hexdigits
\r