1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 19E62429E25
\r
6 for <notmuch@notmuchmail.org>; Mon, 2 Sep 2013 22:22:37 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id ckSbAXnp3vw4 for <notmuch@notmuchmail.org>;
\r
16 Mon, 2 Sep 2013 22:22:22 -0700 (PDT)
\r
17 Received: from mail-ea0-f170.google.com (mail-ea0-f170.google.com
\r
18 [209.85.215.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 2A133431FDD
\r
21 for <notmuch@notmuchmail.org>; Mon, 2 Sep 2013 22:22:22 -0700 (PDT)
\r
22 Received: by mail-ea0-f170.google.com with SMTP id h14so2736478eak.29
\r
23 for <notmuch@notmuchmail.org>; Mon, 02 Sep 2013 22:22:20 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:cc:subject:in-reply-to:references
\r
27 :user-agent:date:message-id:mime-version:content-type;
\r
28 bh=774inoBzsvYpQLgZ3pkxfsePb5Zj+BKQFctTBX9jkHA=;
\r
29 b=Xj+4aZFvzRJCLSFQenb1VNHmKsZcJUvRxT3rVDyRTlsgSdoNey0d2AtoGK/wDT0rS/
\r
30 fcO/ZIbW9kPI+S+8o7iVIuOwI2clJmR0wOv1Tr+o4ZgbzvlzyoRnN7g+dLA//9HszP/l
\r
31 /adZlC83W60KzFS8cCLfvp7//FIYoEGpTeeNFHg/1o5wOya6JdtA57+DWA3PSo2OASDn
\r
32 kz373g0qZdRYUpWYc1wAY1DBIh0LTU6T3OPxJZIrZ6uI5Jv7kUzbbTLsugz00eapixSU
\r
33 CM2BZlq6YQcwopwAtr5pbA2pTINEwt/ymCyiWt8BEx8BCUEF4oRoTrtlHa8oRECR9M8J
\r
36 ALoCoQnWEDSc8ZMNzGRoXWXsn3mGiJrfTvVx0FvqySLlFgEm9Icq/LAafOKuDQkzSUxDB70jsBo2
\r
37 X-Received: by 10.14.107.137 with SMTP id o9mr4962eeg.86.1378185739531;
\r
38 Mon, 02 Sep 2013 22:22:19 -0700 (PDT)
\r
39 Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.
\r
41 by mx.google.com with ESMTPSA id b45sm28246810eef.4.1969.12.31.16.00.00
\r
42 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
43 Mon, 02 Sep 2013 22:22:18 -0700 (PDT)
\r
44 From: Jani Nikula <jani@nikula.org>
\r
45 To: david@tethera.net, notmuch@notmuchmail.org
\r
46 Subject: Re: [PATCH] test: update insert tests for new maildir synchronization
\r
48 In-Reply-To: <1378170613-3584-1-git-send-email-david@tethera.net>
\r
49 References: <1355952747-27350-4-git-send-email-sojkam1@fel.cvut.cz>
\r
50 <1378170613-3584-1-git-send-email-david@tethera.net>
\r
51 User-Agent: Notmuch/0.16+39~gf3963b0 (http://notmuchmail.org) Emacs/24.3.1
\r
52 (x86_64-pc-linux-gnu)
\r
53 Date: Tue, 03 Sep 2013 08:22:18 +0300
\r
54 Message-ID: <87ob8ao4xh.fsf@nikula.org>
\r
56 Content-Type: text/plain
\r
57 Cc: David Bremner <bremner@debian.org>
\r
58 X-BeenThere: notmuch@notmuchmail.org
\r
59 X-Mailman-Version: 2.1.13
\r
61 List-Id: "Use and development of the notmuch mail system."
\r
62 <notmuch.notmuchmail.org>
\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
66 List-Post: <mailto:notmuch@notmuchmail.org>
\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
70 X-List-Received-Date: Tue, 03 Sep 2013 05:22:38 -0000
\r
72 On Tue, 03 Sep 2013, david@tethera.net wrote:
\r
73 > From: David Bremner <bremner@debian.org>
\r
75 > As of id:1355952747-27350-4-git-send-email-sojkam1@fel.cvut.cz
\r
76 > we are more conservative about moving messages from ./new to ./cur.
\r
77 > This updates the insert tests to match
\r
80 > Hopefully this makes sense, and is not just papering over a real
\r
81 > problem that should be fixed.
\r
83 LGTM. I sent some additional tests on top.
\r
90 > test/insert | 6 +++---
\r
91 > 1 file changed, 3 insertions(+), 3 deletions(-)
\r
93 > diff --git a/test/insert b/test/insert
\r
94 > index 021edb6..1718120 100755
\r
97 > @@ -82,7 +82,7 @@ gen_insert_msg
\r
98 > notmuch insert --folder=Drafts < "$gen_msg_filename"
\r
99 > output=$(notmuch search --output=files folder:Drafts)
\r
100 > dirname=$(dirname "$output")
\r
101 > -test_expect_equal "$dirname" "$MAIL_DIR/Drafts/cur"
\r
102 > +test_expect_equal "$dirname" "$MAIL_DIR/Drafts/new"
\r
104 > test_begin_subtest "Insert message into folder, add/remove tags"
\r
106 > @@ -99,14 +99,14 @@ gen_insert_msg
\r
107 > notmuch insert --folder=F --create-folder +folder < "$gen_msg_filename"
\r
108 > output=$(notmuch search --output=files folder:F tag:folder)
\r
109 > basename=$(basename "$output")
\r
110 > -test_expect_equal_file "$gen_msg_filename" "$MAIL_DIR/F/cur/${basename}"
\r
111 > +test_expect_equal_file "$gen_msg_filename" "$MAIL_DIR/F/new/${basename}"
\r
113 > test_begin_subtest "Insert message, create subfolder"
\r
115 > notmuch insert --folder=F/G/H/I/J --create-folder +folder < "$gen_msg_filename"
\r
116 > output=$(notmuch search --output=files folder:F/G/H/I/J tag:folder)
\r
117 > basename=$(basename "$output")
\r
118 > -test_expect_equal_file "$gen_msg_filename" "${MAIL_DIR}/F/G/H/I/J/cur/${basename}"
\r
119 > +test_expect_equal_file "$gen_msg_filename" "${MAIL_DIR}/F/G/H/I/J/new/${basename}"
\r
121 > test_begin_subtest "Insert message, create existing subfolder"
\r
126 > _______________________________________________
\r
127 > notmuch mailing list
\r
128 > notmuch@notmuchmail.org
\r
129 > http://notmuchmail.org/mailman/listinfo/notmuch
\r