1 Return-Path: <bremner@tesseract.cs.unb.ca>
\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 E135A6DE1926
\r
6 for <notmuch@notmuchmail.org>; Sat, 23 May 2015 13:31:34 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.277 tagged_above=-999 required=5 tests=[AWL=0.267,
\r
12 T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] 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 ZHiTP_1C9UEo for <notmuch@notmuchmail.org>;
\r
16 Sat, 23 May 2015 13:31:33 -0700 (PDT)
\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net
\r
19 by arlo.cworth.org (Postfix) with ESMTPS id 2E9E66DE00AC
\r
20 for <notmuch@notmuchmail.org>; Sat, 23 May 2015 13:31:33 -0700 (PDT)
\r
21 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim
\r
22 4.80) (envelope-from <bremner@tesseract.cs.unb.ca>)
\r
23 id 1YwG4J-0002rp-Gn; Sat, 23 May 2015 20:30:51 +0000
\r
24 Received: (nullmailer pid 8767 invoked by uid 1000); Sat, 23 May 2015
\r
26 From: David Bremner <david@tethera.net>
\r
27 To: notmuch@notmuchmail.org
\r
28 Subject: [PATCH 4/4] test: redirect man output to /dev/null
\r
29 Date: Sat, 23 May 2015 22:28:47 +0200
\r
30 Message-Id: <1432412927-8373-5-git-send-email-david@tethera.net>
\r
31 X-Mailer: git-send-email 2.1.4
\r
32 In-Reply-To: <1432412927-8373-1-git-send-email-david@tethera.net>
\r
33 References: <1432412927-8373-1-git-send-email-david@tethera.net>
\r
34 X-BeenThere: notmuch@notmuchmail.org
\r
35 X-Mailman-Version: 2.1.18
\r
37 List-Id: "Use and development of the notmuch mail system."
\r
38 <notmuch.notmuchmail.org>
\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
42 List-Post: <mailto:notmuch@notmuchmail.org>
\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
46 X-List-Received-Date: Sat, 23 May 2015 20:31:35 -0000
\r
48 In the case the these tests fail, they generate a bunch of output;
\r
49 this output is not very interesting because it is just the successful
\r
50 output of a man page. It does however make it hard to see what tests are actually failing, even with NOTMUCH_TEST_QUIET
\r
52 test/T010-help-test.sh | 4 ++--
\r
53 1 file changed, 2 insertions(+), 2 deletions(-)
\r
55 diff --git a/test/T010-help-test.sh b/test/T010-help-test.sh
\r
56 index caf8bdb..d7266ff 100755
\r
57 --- a/test/T010-help-test.sh
\r
58 +++ b/test/T010-help-test.sh
\r
59 @@ -12,9 +12,9 @@ if [ $NOTMUCH_HAVE_MAN -eq 1 ]; then
\r
60 test_expect_success 'notmuch help tag' 'notmuch help tag'
\r
62 test_expect_success 'notmuch --help tag (man pages not available)' \
\r
63 - 'test_must_fail notmuch --help tag'
\r
64 + 'test_must_fail notmuch --help tag >/dev/null'
\r
65 test_expect_success 'notmuch help tag (man pages not available)' \
\r
66 - 'test_must_fail notmuch help tag'
\r
67 + 'test_must_fail notmuch help tag >/dev/null'
\r