From: Jani Nikula Date: Sat, 14 Apr 2012 12:15:30 +0000 (+0300) Subject: [PATCH v2 5/6] test: add test for notmuch tag --stdin option X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c4892f8d189a1ee6b02c73a231da87a14a6bb2fb;p=notmuch-archives.git [PATCH v2 5/6] test: add test for notmuch tag --stdin option --- diff --git a/76/41dad675fde8046b8b2b1ec5ade08c57252ccc b/76/41dad675fde8046b8b2b1ec5ade08c57252ccc new file mode 100644 index 000000000..6cb25648a --- /dev/null +++ b/76/41dad675fde8046b8b2b1ec5ade08c57252ccc @@ -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 7A62D431FDA + for ; Sat, 14 Apr 2012 05:16:04 -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 yjYAsUHjjsRp for ; + Sat, 14 Apr 2012 05:16:03 -0700 (PDT) +Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com + [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id C7890431FD8 + for ; Sat, 14 Apr 2012 05:15:56 -0700 (PDT) +Received: by mail-lb0-f181.google.com with SMTP id b5so40243lbd.26 + for ; Sat, 14 Apr 2012 05:15:56 -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=G4nGjXPa+yb0hTY7/Vt4U3yl0yEsiG8+E+TgUuUtJbVt7Q/OOHsy7do8QXqe/euMx8 + ncRCJ5OsP7eTXhTZI3hhq7OuajoNVtI2qLvuRI5D9r6QUM2qWLqKxaqKd1NbJYdh31DC + SfbqC2qy8/3PpIPMcN29lC9SY8KhWeX/cMGlp3WZ5QuSnt0eAgddT0r36oO5v5wTGvXV + 8M/JesNdcczE1LUyjUfstbZulb03DPRztzq/NWCFFjUvrj/lgVUMy+e2VsZJHpga9+kl + Qt2EkE7V27ocSDnS27kxzoLkOAx4g/6duvgjbQCFPGbjNkJOuuXctbVsG+/zUAd0GxzI + DdaQ== +Received: by 10.112.27.233 with SMTP id w9mr573550lbg.21.1334405756435; + Sat, 14 Apr 2012 05:15:56 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw4-fe50dc00-68.dhcp.inet.fi. + [80.220.80.68]) + by mx.google.com with ESMTPS id f4sm1448560lbk.15.2012.04.14.05.15.54 + (version=SSLv3 cipher=OTHER); Sat, 14 Apr 2012 05:15:55 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH v2 5/6] test: add test for notmuch tag --stdin option +Date: Sat, 14 Apr 2012 15:15:30 +0300 +Message-Id: + <6b9468f37983a6f5a185fadda4b2c4cbe9815aea.1334404979.git.jani@nikula.org> +X-Mailer: git-send-email 1.7.5.4 +In-Reply-To: +References: +In-Reply-To: +References: +X-Gm-Message-State: + ALoCoQnGy/gdP70KhW+ut0tr7OqQkZteOYBkxpZvTj9mwbD6ESO0cxHEqzDMvLU3fKPtQPxEHj/K +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, 14 Apr 2012 12:16:05 -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 <