Re: notmuch-tree display
[notmuch-archives.git] / 55 / 0835ca20db2cb1ce55d93d774cb35583d5283d
1 Return-Path: <dme@dme.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 212C842119F\r
6         for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 10:05:58 -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: -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 gFOQsNE2NuAz for <notmuch@notmuchmail.org>;\r
16         Mon, 23 Jan 2012 10:05:57 -0800 (PST)\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
18  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  54708421192    for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 10:05:53 -0800\r
21  (PST)\r
22 Received: by wgbdt12 with SMTP id dt12so2883140wgb.2\r
23         for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 10:05:52 -0800 (PST)\r
24 MIME-Version: 1.0\r
25 Received: by 10.180.102.169 with SMTP id fp9mr15207983wib.9.1327341952212;\r
26         Mon, 23 Jan 2012 10:05:52 -0800 (PST)\r
27 Received: from hotblack-desiato.hh.sledj.net\r
28         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
29         by mx.google.com with ESMTPS id dr5sm43607679wib.0.2012.01.23.10.05.50\r
30         (version=TLSv1/SSLv3 cipher=OTHER);\r
31         Mon, 23 Jan 2012 10:05:51 -0800 (PST)\r
32 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
33         id EC197A0950; Mon, 23 Jan 2012 18:05:48 +0000 (GMT)\r
34 From: David Edmondson <dme@dme.org>\r
35 To: notmuch@notmuchmail.org\r
36 Subject: [PATCH 1/4 v42] test: Don't return the result of checking for running\r
37         emacs to the tester.\r
38 Date: Mon, 23 Jan 2012 18:05:44 +0000\r
39 Message-Id: <1327341947-29206-1-git-send-email-dme@dme.org>\r
40 X-Mailer: git-send-email 1.7.8.3\r
41 In-Reply-To: <1326804748-8989-2-git-send-email-dme@dme.org>\r
42 References: <1326804748-8989-2-git-send-email-dme@dme.org>\r
43 X-Gm-Message-State:\r
44  ALoCoQn0HAQtyqIkP1LhcgMgH7SFO9QevHbAC8j/4hycE05TYLf05lluvkUmMEHuarXS18vtZakS\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Mon, 23 Jan 2012 18:05:58 -0000\r
58 \r
59 When checking for a running emacs, test_emacs evaluates the empty list\r
60 '()'. This returns 'nil' when emacs is running, which is then\r
61 prepended to the actual test result. Given that it is not part of the\r
62 actual test output the test harness can incorrectly report test\r
63 failure (or success).\r
64 ---\r
65 \r
66 Commentary updated.\r
67 \r
68  test/test-lib.sh |    2 +-\r
69  1 files changed, 1 insertions(+), 1 deletions(-)\r
70 \r
71 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
72 index 0da60fb..82c686c 100644\r
73 --- a/test/test-lib.sh\r
74 +++ b/test/test-lib.sh\r
75 @@ -926,7 +926,7 @@ test_emacs () {\r
76                                 --eval '(orphan-watchdog $$)'" || return\r
77                 EMACS_SERVER="$server_name"\r
78                 # wait until the emacs server is up\r
79 -               until test_emacs '()' 2>/dev/null; do\r
80 +               until test_emacs '()' >/dev/null 2>/dev/null; do\r
81                         sleep 1\r
82                 done\r
83         fi\r
84 -- \r
85 1.7.8.3\r
86 \r