From: Jani Nikula Date: Sat, 31 Mar 2012 22:17:27 +0000 (+0300) Subject: [PATCH 7/8] test: add test for notmuch tag --stdin option X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a850a276182d0f6f085cc5a00ca2f3dc69c55bdb;p=notmuch-archives.git [PATCH 7/8] test: add test for notmuch tag --stdin option --- diff --git a/9c/6b778f3831b34f2ae96b3bb6f3a0a2679be6a7 b/9c/6b778f3831b34f2ae96b3bb6f3a0a2679be6a7 new file mode 100644 index 000000000..557c26e63 --- /dev/null +++ b/9c/6b778f3831b34f2ae96b3bb6f3a0a2679be6a7 @@ -0,0 +1,97 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 3F38E421174 + for ; Sat, 31 Mar 2012 15:18:13 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id kFBv1WPrGnyw for ; + Sat, 31 Mar 2012 15:18:12 -0700 (PDT) +Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com + [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 1DCE5431FAF + for ; Sat, 31 Mar 2012 15:18:00 -0700 (PDT) +Received: by mail-bk0-f53.google.com with SMTP id j4so1547751bkw.26 + for ; Sat, 31 Mar 2012 15:18:00 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references + :in-reply-to:references:x-gm-message-state; + bh=GtjyHKr/UxYHD7sZ/r+atYDXmNHNVfTyGOiKe4jX80M=; + b=FimxayhTJ2NCrky/eZnub31zyH5TGUgV9Cd6f0wIZLLJCboWFgTmbY2yN6cBjtXLxM + oXOdc02HfSyrCwQUKzNjZypYHVMcAF20kGS/elcdfBdnJbIKyIE+KS+TpMPOoYbC2c+E + 6euVHqbddFY6BsqyG6QoMIfGGCkU6PoyWI38ZhWBtHE1b5FXx0/lr0PJTwRUqhrl522s + ObSyZoeyypWDIhGS/Oe2P85MsrJqxgw5Kxl9tbaWT43lgs3EOzmzRMwbGBzRr3VGZ0PC + d1E0QS7tl34ug7FF2MQhOleNaQN61jN6AeVncEV8mZRAms0xEsQTjFfPNzFR6L/sSlUD + Ca/Q== +Received: by 10.205.132.73 with SMTP id ht9mr1430875bkc.46.1333232280673; + Sat, 31 Mar 2012 15:18:00 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi. + [84.248.80.253]) + by mx.google.com with ESMTPS id z17sm28529565bkw.12.2012.03.31.15.17.58 + (version=SSLv3 cipher=OTHER); Sat, 31 Mar 2012 15:17:59 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH 7/8] test: add test for notmuch tag --stdin option +Date: Sun, 1 Apr 2012 01:17:27 +0300 +Message-Id: + +X-Mailer: git-send-email 1.7.5.4 +In-Reply-To: +References: +In-Reply-To: +References: +X-Gm-Message-State: + ALoCoQmtru8hkIjcnN5KL6ZTMVqQ2K5csGB0shIWZuxBCqLQgWfPJlxxpsOx7vCtoLEYyIjAD3wL +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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, 31 Mar 2012 22:18:13 -0000 + +--- + test/tagging | 13 +++++++++++++ + 1 files changed, 13 insertions(+), 0 deletions(-) + +diff --git a/test/tagging b/test/tagging +index e4782ed..15eb42d 100755 +--- a/test/tagging ++++ b/test/tagging +@@ -46,4 +46,17 @@ test_expect_equal "$output" "\ + thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; One (:\" inbox tag1 unread) + thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Two (inbox tag1 tag4 unread)" + ++test_begin_subtest "Batch stdin" ++notmuch tag --stdin <