--- /dev/null
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 778E9431FAF\r
+ for <notmuch@notmuchmail.org>; Fri, 24 May 2013 01:03:23 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 3J7QAtcEaF+o for <notmuch@notmuchmail.org>;\r
+ Fri, 24 May 2013 01:03:15 -0700 (PDT)\r
+Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com\r
+ [74.125.82.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ A0B8B431FAE for <notmuch@notmuchmail.org>; Fri, 24 May 2013 01:03:15 -0700\r
+ (PDT)\r
+Received: by mail-wg0-f54.google.com with SMTP id j13so1230382wgh.9\r
+ for <notmuch@notmuchmail.org>; Fri, 24 May 2013 01:03:14 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=google.com; s=20120113;\r
+ h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+ :message-id:mime-version:content-type:x-gm-message-state;\r
+ bh=jCongD9gRLLvddv9pgUeoYYKIAwGU9NVZmV3cTsRwIc=;\r
+ b=fQVoZf5WvIg23UgyQSuuFz3U6UvDXWRA6IzvxDG40N97pDzTpBQb2M8cO3XJMzQcj6\r
+ yrzkWmKuWiIkPmtYUu0eFfuDDfGMfLWP2I9HukN2VG7HE3P/FZjdpVu5besg2gCsLwno\r
+ 8X2hL8tLsiqc74fJ40GjzCyuZJx5eN0KMZHRxBpibGMTPXw7cOqmyYF1wTT/XyVkh3IL\r
+ Rc+MMa7Ipw/IdQa9LqWIdzoMY/T0M/atoBiLW5Gq73Fn1A87CbrLLEQNAmZysDh98QZN\r
+ jrcX3vmlLikBjNhQeUJASwbAQ7ek0NLnj/0biHlDt7fFNIRXNLe06+381N/BIOi62bLz\r
+ iyhg==\r
+X-Received: by 10.180.9.80 with SMTP id x16mr43663wia.63.1369382593067;\r
+ Fri, 24 May 2013 01:03:13 -0700 (PDT)\r
+Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
+ by mx.google.com with ESMTPSA id d10sm40501066wik.0.2013.05.24.01.03.11\r
+ for <multiple recipients>\r
+ (version=TLSv1.1 cipher=RC4-SHA bits=128/128);\r
+ Fri, 24 May 2013 01:03:11 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 2/4] test: added --stderr=FILE tests\r
+In-Reply-To: <1369332362-4719-2-git-send-email-tomi.ollila@iki.fi>\r
+References: <1369332362-4719-1-git-send-email-tomi.ollila@iki.fi>\r
+ <1369332362-4719-2-git-send-email-tomi.ollila@iki.fi>\r
+User-Agent: Notmuch/0.15.2+86~g2be3ce0 (http://notmuchmail.org) Emacs/23.2.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 24 May 2013 10:03:07 +0200\r
+Message-ID: <87k3mo3iv8.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Gm-Message-State:\r
+ ALoCoQkjrMDWgzhTnaxi4mFVLHcTY2aSdsRHsh0nnZIto+RoPlMcjb4qQA35MhjshlTIJeQY1O04\r
+Cc: tomi.ollila@iki.fi\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 24 May 2013 08:03:23 -0000\r
+\r
+On Thu, 23 May 2013, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+> --stderr=FILE tests were added to test/help-test as it is the one\r
+> doing most global option testing. Also, it was simplest to test\r
+> this new option using `notmuch help` command.\r
+> ---\r
+>\r
+> In the future this file (help-test) could be renamed and used in\r
+> more generic "global option" testing\r
+>\r
+> test/help-test | 10 ++++++++++\r
+> 1 file changed, 10 insertions(+)\r
+>\r
+> diff --git a/test/help-test b/test/help-test\r
+> index f7df725..8b77931 100755\r
+> --- a/test/help-test\r
+> +++ b/test/help-test\r
+> @@ -9,4 +9,14 @@ test_expect_success 'notmuch help' 'notmuch help'\r
+> test_expect_success 'notmuch help tag' 'notmuch help tag'\r
+> test_expect_success 'notmuch --version' 'notmuch --version'\r
+> \r
+> +test_begin_subtest "notmuch --stderr=stderr help %"\r
+> +notmuch --stderr=stderr help %\r
+> +test_expect_equal "$(cat stderr)" "\r
+> +Sorry, % is not a known command. There's not much I can do to help."\r
+> +\r
+> +test_begin_subtest "notmuch --stderr=- help %"\r
+> +notmuch --stderr=stderr help %\r
+\r
+Leftover line from copy-paste?\r
+\r
+> +test_expect_equal "$(notmuch --stderr=- help %)" "\r
+> +Sorry, % is not a known command. There's not much I can do to help."\r
+> +\r
+> test_done\r
+> -- \r
+> 1.8.1.4\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r