From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E135A6DE1926 for ; Sat, 23 May 2015 13:31:34 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.277 X-Spam-Level: X-Spam-Status: No, score=0.277 tagged_above=-999 required=5 tests=[AWL=0.267, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZHiTP_1C9UEo for ; Sat, 23 May 2015 13:31:33 -0700 (PDT) Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 2E9E66DE00AC for ; Sat, 23 May 2015 13:31:33 -0700 (PDT) Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim 4.80) (envelope-from ) id 1YwG4J-0002rp-Gn; Sat, 23 May 2015 20:30:51 +0000 Received: (nullmailer pid 8767 invoked by uid 1000); Sat, 23 May 2015 20:29:05 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 4/4] test: redirect man output to /dev/null Date: Sat, 23 May 2015 22:28:47 +0200 Message-Id: <1432412927-8373-5-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1432412927-8373-1-git-send-email-david@tethera.net> References: <1432412927-8373-1-git-send-email-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 20:31:35 -0000 In the case the these tests fail, they generate a bunch of output; this output is not very interesting because it is just the successful output of a man page. It does however make it hard to see what tests are actually failing, even with NOTMUCH_TEST_QUIET --- test/T010-help-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/T010-help-test.sh b/test/T010-help-test.sh index caf8bdb..d7266ff 100755 --- a/test/T010-help-test.sh +++ b/test/T010-help-test.sh @@ -12,9 +12,9 @@ if [ $NOTMUCH_HAVE_MAN -eq 1 ]; then test_expect_success 'notmuch help tag' 'notmuch help tag' else test_expect_success 'notmuch --help tag (man pages not available)' \ - 'test_must_fail notmuch --help tag' + 'test_must_fail notmuch --help tag >/dev/null' test_expect_success 'notmuch help tag (man pages not available)' \ - 'test_must_fail notmuch help tag' + 'test_must_fail notmuch help tag >/dev/null' fi test_done -- 2.1.4