1 Return-Path: <jani@nikula.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 778E9431FAF
\r
6 for <notmuch@notmuchmail.org>; Fri, 24 May 2013 01:03:23 -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 3J7QAtcEaF+o for <notmuch@notmuchmail.org>;
\r
16 Fri, 24 May 2013 01:03:15 -0700 (PDT)
\r
17 Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com
\r
18 [74.125.82.54]) (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 A0B8B431FAE for <notmuch@notmuchmail.org>; Fri, 24 May 2013 01:03:15 -0700
\r
22 Received: by mail-wg0-f54.google.com with SMTP id j13so1230382wgh.9
\r
23 for <notmuch@notmuchmail.org>; Fri, 24 May 2013 01:03:14 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:cc:subject:in-reply-to:references:user-agent:date
\r
27 :message-id:mime-version:content-type:x-gm-message-state;
\r
28 bh=jCongD9gRLLvddv9pgUeoYYKIAwGU9NVZmV3cTsRwIc=;
\r
29 b=fQVoZf5WvIg23UgyQSuuFz3U6UvDXWRA6IzvxDG40N97pDzTpBQb2M8cO3XJMzQcj6
\r
30 yrzkWmKuWiIkPmtYUu0eFfuDDfGMfLWP2I9HukN2VG7HE3P/FZjdpVu5besg2gCsLwno
\r
31 8X2hL8tLsiqc74fJ40GjzCyuZJx5eN0KMZHRxBpibGMTPXw7cOqmyYF1wTT/XyVkh3IL
\r
32 Rc+MMa7Ipw/IdQa9LqWIdzoMY/T0M/atoBiLW5Gq73Fn1A87CbrLLEQNAmZysDh98QZN
\r
33 jrcX3vmlLikBjNhQeUJASwbAQ7ek0NLnj/0biHlDt7fFNIRXNLe06+381N/BIOi62bLz
\r
35 X-Received: by 10.180.9.80 with SMTP id x16mr43663wia.63.1369382593067;
\r
36 Fri, 24 May 2013 01:03:13 -0700 (PDT)
\r
37 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])
\r
38 by mx.google.com with ESMTPSA id d10sm40501066wik.0.2013.05.24.01.03.11
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.1 cipher=RC4-SHA bits=128/128);
\r
41 Fri, 24 May 2013 01:03:11 -0700 (PDT)
\r
42 From: Jani Nikula <jani@nikula.org>
\r
43 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
\r
44 Subject: Re: [PATCH 2/4] test: added --stderr=FILE tests
\r
45 In-Reply-To: <1369332362-4719-2-git-send-email-tomi.ollila@iki.fi>
\r
46 References: <1369332362-4719-1-git-send-email-tomi.ollila@iki.fi>
\r
47 <1369332362-4719-2-git-send-email-tomi.ollila@iki.fi>
\r
48 User-Agent: Notmuch/0.15.2+86~g2be3ce0 (http://notmuchmail.org) Emacs/23.2.1
\r
49 (x86_64-pc-linux-gnu)
\r
50 Date: Fri, 24 May 2013 10:03:07 +0200
\r
51 Message-ID: <87k3mo3iv8.fsf@nikula.org>
\r
53 Content-Type: text/plain; charset=us-ascii
\r
55 ALoCoQkjrMDWgzhTnaxi4mFVLHcTY2aSdsRHsh0nnZIto+RoPlMcjb4qQA35MhjshlTIJeQY1O04
\r
56 Cc: tomi.ollila@iki.fi
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 List-Id: "Use and development of the notmuch mail system."
\r
61 <notmuch.notmuchmail.org>
\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
65 List-Post: <mailto:notmuch@notmuchmail.org>
\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
69 X-List-Received-Date: Fri, 24 May 2013 08:03:23 -0000
\r
71 On Thu, 23 May 2013, Tomi Ollila <tomi.ollila@iki.fi> wrote:
\r
72 > --stderr=FILE tests were added to test/help-test as it is the one
\r
73 > doing most global option testing. Also, it was simplest to test
\r
74 > this new option using `notmuch help` command.
\r
77 > In the future this file (help-test) could be renamed and used in
\r
78 > more generic "global option" testing
\r
80 > test/help-test | 10 ++++++++++
\r
81 > 1 file changed, 10 insertions(+)
\r
83 > diff --git a/test/help-test b/test/help-test
\r
84 > index f7df725..8b77931 100755
\r
85 > --- a/test/help-test
\r
86 > +++ b/test/help-test
\r
87 > @@ -9,4 +9,14 @@ test_expect_success 'notmuch help' 'notmuch help'
\r
88 > test_expect_success 'notmuch help tag' 'notmuch help tag'
\r
89 > test_expect_success 'notmuch --version' 'notmuch --version'
\r
91 > +test_begin_subtest "notmuch --stderr=stderr help %"
\r
92 > +notmuch --stderr=stderr help %
\r
93 > +test_expect_equal "$(cat stderr)" "
\r
94 > +Sorry, % is not a known command. There's not much I can do to help."
\r
96 > +test_begin_subtest "notmuch --stderr=- help %"
\r
97 > +notmuch --stderr=stderr help %
\r
99 Leftover line from copy-paste?
\r
101 > +test_expect_equal "$(notmuch --stderr=- help %)" "
\r
102 > +Sorry, % is not a known command. There's not much I can do to help."
\r
108 > _______________________________________________
\r
109 > notmuch mailing list
\r
110 > notmuch@notmuchmail.org
\r
111 > http://notmuchmail.org/mailman/listinfo/notmuch
\r