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 9B483431FC9
\r
6 for <notmuch@notmuchmail.org>; Fri, 13 Apr 2012 18:44:26 -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 hFFqJFGApvdv for <notmuch@notmuchmail.org>;
\r
17 Fri, 13 Apr 2012 18:44:26 -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 0E503431FAE
\r
22 for <notmuch@notmuchmail.org>; Fri, 13 Apr 2012 18:44:25 -0700 (PDT)
\r
23 Received: by pbcuo1 with SMTP id uo1so4830870pbc.26
\r
24 for <notmuch@notmuchmail.org>; Fri, 13 Apr 2012 18:44: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=b7xZ6VRSRZDx5JI4OZ8eBHZKLqOuJxeOJtegYVOM+TA=;
\r
28 b=ycmPpxcU1dfANH8AkykWjEcHwxuD966INgV3G58d+HnOelt5Udah0Fl3YdFUgjhgX4
\r
29 2r+rR+fLWV+gG8i72X3WGdE2qOxUSkCkukk3yGBCGagPxPWvulNo3yzixcoUTTR1rb1+
\r
30 yEtln/Moonv9yDTtYZQjItF2x9zqJ8dJMgFaEyXgAm+VXpYSLhAMWhC+EhO2fm9tUKI+
\r
31 Ijy0zTEYe3y4IZkYIyStvXska8F6iAVGXcUuSD3VshDPuJ/duJhZ3pLampl8N+0PBgFy
\r
32 zhEYuWR8Szwx4xTiQLviN8I6Z99sng/XS6Lf8R3AMy1VZpnp6hx8XED3BQ0ZpDCoHDJl
\r
34 Received: by 10.68.222.134 with SMTP id qm6mr9201271pbc.14.1334367865308;
\r
35 Fri, 13 Apr 2012 18:44: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 l4sm10267122pbl.27.2012.04.13.18.44.22
\r
39 (version=TLSv1/SSLv3 cipher=OTHER);
\r
40 Fri, 13 Apr 2012 18:44:24 -0700 (PDT)
\r
41 From: Peter Wang <novalazy@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH v4 4/6] test: Add broken test for 'config list'
\r
44 Date: Sat, 14 Apr 2012 11:41:04 +1000
\r
45 Message-Id: <1334367666-10954-5-git-send-email-novalazy@gmail.com>
\r
46 X-Mailer: git-send-email 1.7.4.4
\r
47 In-Reply-To: <1334367666-10954-1-git-send-email-novalazy@gmail.com>
\r
48 References: <1332282698-7951-1-git-send-email-novalazy@gmail.com>
\r
49 <1334367666-10954-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: Sat, 14 Apr 2012 01:44:26 -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 9030154..3bf8098 100755
\r
73 @@ -42,4 +42,20 @@ test_begin_subtest "Remove non-existent key"
\r
74 notmuch config set foo.nonexistent
\r
75 test_expect_equal "$(notmuch config get foo.nonexistent)" ""
\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
90 +foo.string=this is another string value
\r
91 +foo.list=this;is another;list value;"
\r