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 52E50431FAF
\r
6 for <notmuch@notmuchmail.org>; Wed, 1 Jan 2014 07:20:25 -0800 (PST)
\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 UyhqKIQv4xN9 for <notmuch@notmuchmail.org>;
\r
16 Wed, 1 Jan 2014 07:20:19 -0800 (PST)
\r
17 Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com
\r
18 [209.85.215.169]) (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 A3730431FC0
\r
21 for <notmuch@notmuchmail.org>; Wed, 1 Jan 2014 07:20:19 -0800 (PST)
\r
22 Received: by mail-ea0-f169.google.com with SMTP id l9so5118126eaj.14
\r
23 for <notmuch@notmuchmail.org>; Wed, 01 Jan 2014 07:20:17 -0800 (PST)
\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:date:message-id;
\r
27 bh=q7R8ynCReNy2I8cqgLsftM451AfZUK9x3DOFtOViUSU=;
\r
28 b=ZkTNGrXjbYG/3+C6LwEOsN4sAwajPWQeeOsnkOlUVfedTdo7C89FLrXGtfs6w76Pyz
\r
29 7hF46caZ1Rde8FdGdxSf9k2jxvkfMTNXhFXszHg9NBkJG7pIeb2i1lEgeTLVhHktqcK2
\r
30 xubhxR/QTUvUXIudjEx/D8eBpLOa81f870MHkmDL9OYnz7Fz4lr+eVDlz4SOoq6yyKyh
\r
31 S4DWd1VGlLDiiwyob9jFwM02sjRVNFRuWpumL3cEk/8AwN1OrWtqZ6Vq54s6hi4lTG8N
\r
32 C5HDc8aV9SlLmcudtc2MVduUW14c/XMNcqBVTNDVeY0ib0EasaB2+WQbEWZDDFVMCd8j
\r
35 ALoCoQko9XsHL+fk5Q9EUR/cTU5mAvroqqaPlQSH5F+JfLJCBZVr9//Mi7sGRvPWveIq5Y+EUpsP
\r
36 X-Received: by 10.15.10.2 with SMTP id f2mr4554561eet.112.1388589616928;
\r
37 Wed, 01 Jan 2014 07:20:16 -0800 (PST)
\r
38 Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.
\r
39 [88.195.111.91]) by mx.google.com with ESMTPSA id
\r
40 g7sm127838760eet.12.2014.01.01.07.20.15 for <multiple recipients>
\r
41 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
42 Wed, 01 Jan 2014 07:20:16 -0800 (PST)
\r
43 From: Jani Nikula <jani@nikula.org>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: [PATCH 1/2] test: notmuch insert with maildir.synchronize_flags=false
\r
46 Date: Wed, 1 Jan 2014 17:20:13 +0200
\r
47 Message-Id: <1388589614-19671-1-git-send-email-jani@nikula.org>
\r
48 X-Mailer: git-send-email 1.8.5.2
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Wed, 01 Jan 2014 15:20:25 -0000
\r
63 Known broken, notmuch insert does not respect the config option.
\r
65 test/insert | 11 +++++++++++
\r
66 1 file changed, 11 insertions(+)
\r
68 diff --git a/test/insert b/test/insert
\r
69 index 550b413..9283e70 100755
\r
72 @@ -113,6 +113,17 @@ output=$(notmuch search --output=files id:$gen_msg_id)
\r
73 dirname=$(dirname "$output")
\r
74 test_expect_equal "$dirname" "$MAIL_DIR/cur"
\r
76 +test_begin_subtest "Insert message with maildir sync off goes to new/"
\r
77 +test_subtest_known_broken
\r
78 +OLDCONFIG=$(notmuch config get maildir.synchronize_flags)
\r
79 +notmuch config set maildir.synchronize_flags false
\r
81 +notmuch insert +flagged < "$gen_msg_filename"
\r
82 +output=$(notmuch search --output=files id:$gen_msg_id)
\r
83 +dirname=$(dirname "$output")
\r
84 +notmuch config set maildir.synchronize_flags $OLDCONFIG
\r
85 +test_expect_equal "$dirname" "$MAIL_DIR/new"
\r
87 test_begin_subtest "Insert message into folder"
\r
89 notmuch insert --folder=Drafts < "$gen_msg_filename"
\r