From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id AD47B431FD6 for ; Wed, 14 Mar 2012 05:26:59 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.201 X-Spam-Level: X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, 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 U5mLFeD05hbF for ; Wed, 14 Mar 2012 05:26:59 -0700 (PDT) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1CBAA431FCF for ; Wed, 14 Mar 2012 05:26:58 -0700 (PDT) Received: by werm13 with SMTP id m13so1833650wer.26 for ; Wed, 14 Mar 2012 05:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=v79/X18bJ0gQQRWIh3D2GPPc5YO0irSjYRB/JQtptjU=; b=0kBEAkNbJZZkQZDdUK/bd5L+fPGxNMoIdSpeT3RaR9w3R0mucScx/f2IBdZH6IJBNX GSZbif+2QXiURx58PsDpXZ7pxXmxnchwCysMAfIKJo6V9bWfWO6puv48TGVHFVaBxbT7 bqYYP+/z8ODAxmO6V0vQJ7E09hd2ZyIi69Dab0m5dARD9mg7ZC9IafY1WyY98xk3fZmJ Jv85cUJS8sQgTVeIMzIzcoqRuvtMLMIbbIfTT7emePgttPdHQdASTIsqB99qBh+sf/XS EX2Kwi4KsTVS7i9tjiayU0oOZIuezdjS4Kp7jf0x0HbJwxpf96TZgqeWeSyATjnmmxX0 Ty5A== Received: by 10.216.135.141 with SMTP id u13mr1445618wei.79.1331728017831; Wed, 14 Mar 2012 05:26:57 -0700 (PDT) Received: from localhost (94-192-233-223.zone6.bethere.co.uk. [94.192.233.223]) by mx.google.com with ESMTPS id d7sm15991671wiz.6.2012.03.14.05.26.56 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Mar 2012 05:26:57 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [Patch v2 1/3] test: the test for the exclude code mistakenly excludes the tag "=" Date: Wed, 14 Mar 2012 12:26:52 +0000 Message-Id: <1331728014-32698-2-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1331728014-32698-1-git-send-email-markwalters1009@gmail.com> References: <1331728014-32698-1-git-send-email-markwalters1009@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Wed, 14 Mar 2012 12:26:59 -0000 The tests for the exclude code in search and count use the line notmuch config set search.exclude_tags = deleted which actually sets the exclude tags to be "=" and "deleted". Remove the "=" from this line. --- test/count | 2 +- test/search | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/count b/test/count index 976fff1..b97fc06 100755 --- a/test/count +++ b/test/count @@ -38,7 +38,7 @@ test_expect_equal \ "`notmuch count --output=threads ${SEARCH}`" test_begin_subtest "count excluding \"deleted\" messages" -notmuch config set search.exclude_tags = deleted +notmuch config set search.exclude_tags deleted generate_message '[subject]="Not deleted"' generate_message '[subject]="Another not deleted"' generate_message '[subject]="Deleted"' diff --git a/test/search b/test/search index 081f60c..3e3a462 100755 --- a/test/search +++ b/test/search @@ -130,7 +130,7 @@ output=$(notmuch search "bödý" | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2000-01-01 [1/1] Notmuch Test Suite; utf8-message-body-subject (inbox unread)" test_begin_subtest "Exclude \"deleted\" messages from search" -notmuch config set search.exclude_tags = deleted +notmuch config set search.exclude_tags deleted generate_message '[subject]="Not deleted"' generate_message '[subject]="Deleted"' notmuch new > /dev/null -- 1.7.9.1