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 52E50431FAF for ; Wed, 1 Jan 2014 07:20:25 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 UyhqKIQv4xN9 for ; Wed, 1 Jan 2014 07:20:19 -0800 (PST) Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A3730431FC0 for ; Wed, 1 Jan 2014 07:20:19 -0800 (PST) Received: by mail-ea0-f169.google.com with SMTP id l9so5118126eaj.14 for ; Wed, 01 Jan 2014 07:20:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=q7R8ynCReNy2I8cqgLsftM451AfZUK9x3DOFtOViUSU=; b=ZkTNGrXjbYG/3+C6LwEOsN4sAwajPWQeeOsnkOlUVfedTdo7C89FLrXGtfs6w76Pyz 7hF46caZ1Rde8FdGdxSf9k2jxvkfMTNXhFXszHg9NBkJG7pIeb2i1lEgeTLVhHktqcK2 xubhxR/QTUvUXIudjEx/D8eBpLOa81f870MHkmDL9OYnz7Fz4lr+eVDlz4SOoq6yyKyh S4DWd1VGlLDiiwyob9jFwM02sjRVNFRuWpumL3cEk/8AwN1OrWtqZ6Vq54s6hi4lTG8N C5HDc8aV9SlLmcudtc2MVduUW14c/XMNcqBVTNDVeY0ib0EasaB2+WQbEWZDDFVMCd8j TR4w== X-Gm-Message-State: ALoCoQko9XsHL+fk5Q9EUR/cTU5mAvroqqaPlQSH5F+JfLJCBZVr9//Mi7sGRvPWveIq5Y+EUpsP X-Received: by 10.15.10.2 with SMTP id f2mr4554561eet.112.1388589616928; Wed, 01 Jan 2014 07:20:16 -0800 (PST) Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi. [88.195.111.91]) by mx.google.com with ESMTPSA id g7sm127838760eet.12.2014.01.01.07.20.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 01 Jan 2014 07:20:16 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 1/2] test: notmuch insert with maildir.synchronize_flags=false Date: Wed, 1 Jan 2014 17:20:13 +0200 Message-Id: <1388589614-19671-1-git-send-email-jani@nikula.org> X-Mailer: git-send-email 1.8.5.2 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, 01 Jan 2014 15:20:25 -0000 Known broken, notmuch insert does not respect the config option. --- test/insert | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/insert b/test/insert index 550b413..9283e70 100755 --- a/test/insert +++ b/test/insert @@ -113,6 +113,17 @@ output=$(notmuch search --output=files id:$gen_msg_id) dirname=$(dirname "$output") test_expect_equal "$dirname" "$MAIL_DIR/cur" +test_begin_subtest "Insert message with maildir sync off goes to new/" +test_subtest_known_broken +OLDCONFIG=$(notmuch config get maildir.synchronize_flags) +notmuch config set maildir.synchronize_flags false +gen_insert_msg +notmuch insert +flagged < "$gen_msg_filename" +output=$(notmuch search --output=files id:$gen_msg_id) +dirname=$(dirname "$output") +notmuch config set maildir.synchronize_flags $OLDCONFIG +test_expect_equal "$dirname" "$MAIL_DIR/new" + test_begin_subtest "Insert message into folder" gen_insert_msg notmuch insert --folder=Drafts < "$gen_msg_filename" -- 1.8.5.2