1 Return-Path: <novalazy@gmail.com>
\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 C3DB9429E3D
\r
6 for <notmuch@notmuchmail.org>; Fri, 30 Mar 2012 16:16:28 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id MhZFaxtvv3mg for <notmuch@notmuchmail.org>;
\r
17 Fri, 30 Mar 2012 16:16:28 -0700 (PDT)
\r
18 Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com
\r
19 [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id ADFEA431FB6
\r
22 for <notmuch@notmuchmail.org>; Fri, 30 Mar 2012 16:16:26 -0700 (PDT)
\r
23 Received: by pbcuo1 with SMTP id uo1so2710889pbc.26
\r
24 for <notmuch@notmuchmail.org>; Fri, 30 Mar 2012 16:16:25 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
27 bh=ds9nsAqlATKgTfMPdVUBYVooIdeyOY6LsauvSvcCcF4=;
\r
28 b=Z3DzkshvO1cmq7HXvc1l/Y7av1ClKIxJpGTK/UslnNLzMm/zW8ji4cHVUXCHaITbJp
\r
29 eb7nrHA5Ha9BGnlZvZWhGfmUMVJ0EybjHpVnyQ/0esr1DvU0XaZFufAhhQYIi19nrVxC
\r
30 zvspvwws0wtXn5fBdo6bV6YZczBlerMr9mj3siqDDvMV2YDlBGYPFp3PCfyeYLwSTnu0
\r
31 4wZV0KVJBke3nDb3mdhWvhn80Bv+TN7++5s3waH7wqIeCNcepMxJdtU7leiws3vvm8zH
\r
32 kfzfQkWDwyd8cVZgUO+mIgPp0JCxCuDnVEa5+DBytYzBtDVBR+gopTw/miQo8APMleKC
\r
34 Received: by 10.68.136.41 with SMTP id px9mr957139pbb.147.1333149385907;
\r
35 Fri, 30 Mar 2012 16:16:25 -0700 (PDT)
\r
36 Received: from localhost (215.42.233.220.static.exetel.com.au.
\r
38 by mx.google.com with ESMTPS id w6sm8305598pbf.66.2012.03.30.16.16.23
\r
39 (version=TLSv1/SSLv3 cipher=OTHER);
\r
40 Fri, 30 Mar 2012 16:16:25 -0700 (PDT)
\r
41 From: Peter Wang <novalazy@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH v2 3/5] test: Add broken test for 'config list'
\r
44 Date: Sat, 31 Mar 2012 10:15:48 +1100
\r
45 Message-Id: <1333149350-22616-4-git-send-email-novalazy@gmail.com>
\r
46 X-Mailer: git-send-email 1.7.4.4
\r
47 In-Reply-To: <1333149350-22616-1-git-send-email-novalazy@gmail.com>
\r
48 References: <1332282698-7951-1-git-send-email-novalazy@gmail.com>
\r
49 <1333149350-22616-1-git-send-email-novalazy@gmail.com>
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Fri, 30 Mar 2012 23:16:29 -0000
\r
64 Proposed functionality.
\r
66 test/config | 16 ++++++++++++++++
\r
67 1 files changed, 16 insertions(+), 0 deletions(-)
\r
69 diff --git a/test/config b/test/config
\r
70 index d3e574c..73c58ff 100755
\r
73 @@ -17,4 +17,20 @@ test_expect_success "Set string value" \
\r
74 test_expect_success "Set list value" \
\r
75 'notmuch config set foo.list xxx "yyy yyy" "zzz zzz"'
\r
77 +test_begin_subtest "List all items"
\r
78 +test_subtest_known_broken
\r
79 +notmuch config set database.path "/canonical/path"
\r
80 +output=$(notmuch config list)
\r
81 +test_expect_equal "$output" "\
\r
82 +database.path=/canonical/path
\r
83 +user.name=Notmuch Test Suite
\r
84 +user.primary_email=test_suite@notmuchmail.org
\r
85 +user.other_email=test_suite_other@notmuchmail.org;test_suite@otherdomain.org
\r
86 +new.tags=unread;inbox;
\r
88 +search.exclude_tags=
\r
89 +maildir.synchronize_flags=true
\r
91 +foo.list=xxx;yyy yyy;zzz zzz;"
\r