Re: [PATCH] test:Folder tags shouldn't match after removal of file in given folder
authorAustin Clements <amdragon@mit.edu>
Mon, 27 Jun 2011 20:58:00 +0000 (16:58 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:44 +0000 (09:38 -0800)
06/430558df0f42b426cca92286a70da74fc26524 [new file with mode: 0644]

diff --git a/06/430558df0f42b426cca92286a70da74fc26524 b/06/430558df0f42b426cca92286a70da74fc26524
new file mode 100644 (file)
index 0000000..65b2f01
--- /dev/null
@@ -0,0 +1,86 @@
+Return-Path: <amdragon@gmail.com>\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 3DE41429E25\r
+       for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 13:58:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
+       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 63UQ0qoXYRRY for <notmuch@notmuchmail.org>;\r
+       Mon, 27 Jun 2011 13:58:01 -0700 (PDT)\r
+Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com\r
+       [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id CA82F431FD0\r
+       for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 13:58:01 -0700 (PDT)\r
+Received: by qyk9 with SMTP id 9so3295453qyk.5\r
+       for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 13:58:01 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=domainkey-signature:mime-version:sender:in-reply-to:references:date\r
+       :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
+       :content-transfer-encoding;\r
+       bh=5eGvopmPY/zUfeyxwWvWilkwvym1MqPqtspv6+v4DAE=;\r
+       b=NmttHb1gY8exxNw52odQBIGagKaPdCVtT+S4pvtoYoj+0U16ibwEBDgbpRKoWjnsJY\r
+       pPKjIJDBGQ3tnvxXHdgOsVzq/IPi+jobfLLcPgxpYl58Daoe1kEZ15DmHJ9T5FfWQS42\r
+       iUvcaMxnqVXHQd4QLXgIAXCOy2f65v7h9jwa4=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
+       h=mime-version:sender:in-reply-to:references:date\r
+       :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
+       :content-transfer-encoding;\r
+       b=OeSvf39lJwBeZ+zSYbB8n/HPXLcJzjTuf4rdcGobb9NLJ5mDJJ9Z+OHN2NOsp5mw7G\r
+       1O/eFLXKv8GxADXhYg/QSI/JuO8ATlRg2qqRzU29SVK4HXwTGI975RfQFbNpeuYq8kfm\r
+       Isf2UWeI16bWzJjDRTCiJRiDI/14Yt/4Vs+2s=\r
+MIME-Version: 1.0\r
+Received: by 10.229.31.1 with SMTP id w1mr5065785qcc.138.1309208281047; Mon,\r
+       27 Jun 2011 13:58:01 -0700 (PDT)\r
+Sender: amdragon@gmail.com\r
+Received: by 10.229.32.197 with HTTP; Mon, 27 Jun 2011 13:58:00 -0700 (PDT)\r
+In-Reply-To: <87sjqvw64n.fsf@gmail.com>\r
+References: <87sjqvw64n.fsf@gmail.com>\r
+Date: Mon, 27 Jun 2011 16:58:00 -0400\r
+X-Google-Sender-Auth: lI70ejrYxb7ATdRuBoNpin0Ihdw\r
+Message-ID: <BANLkTikhyA-9hrr8WfJvYP50OcYPsMiiuQ@mail.gmail.com>\r
+Subject: Re: [PATCH] test:Folder tags shouldn't match after removal of file in\r
+       given folder\r
+From: Austin Clements <amdragon@mit.edu>\r
+To: Mark Anderson <ma.skies@gmail.com>\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+Cc: notmuch@notmuchmail.org\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: Mon, 27 Jun 2011 20:58:02 -0000\r
+\r
+On Mon, Jun 27, 2011 at 1:12 PM, Mark Anderson <ma.skies@gmail.com> wrote:\r
+> +test_begin_subtest "Test matches folder:spam"\r
+> +output=3D$(notmuch search folder:spam)\r
+> +test_expect_equal "$output" "thread:0000000000000001 =A0 2001-01-05 [1/1=\r
+] Notmuch Test Suite; Test message #1 (inbox unread)"\r
+> +\r
+> +sleep 1;\r
+\r
+I assume this has to do with directory mtime's.  Is it sufficient to\r
+instead increment_mtime $dir/spam after the rm below?\r
+\r
+> +\r
+> +test_begin_subtest "Remove folder:spam copy of email"\r
+> +rm $dir/spam/$(basename $file_x)\r
+> +output=3D$(NOTMUCH_NEW)\r
+> +test_expect_equal "$output" "No new mail. Detected 1 file rename."\r