Re: use font-face instead of explicit colouring
[notmuch-archives.git] / 3c / 918c0579c2ec87dc688051ac9c324cf17fcba9
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 CEBE1431FAE\r
6         for <notmuch@notmuchmail.org>; Thu,  5 Apr 2012 18:48:54 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \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 7m79flPd5Ujo for <notmuch@notmuchmail.org>;\r
17         Thu,  5 Apr 2012 18:48:53 -0700 (PDT)\r
18 Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com\r
19         [209.85.210.45]) (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 DF2EA431FC3\r
22         for <notmuch@notmuchmail.org>; Thu,  5 Apr 2012 18:48:52 -0700 (PDT)\r
23 Received: by mail-pz0-f45.google.com with SMTP id x6so2370746dac.18\r
24         for <notmuch@notmuchmail.org>; Thu, 05 Apr 2012 18:48:52 -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=lSXF8dXoTSJUPUSDS8j6jlm9H12EIT2KLk2XbAKhpgs=;\r
28         b=xHlU2RisdlbI71pHYRbQt8KauGOoGLNMd0xtV3WsFyL51MxNWz5JhqLxZDsCyCzyas\r
29         c7yK1nap7s3ntPEYS0Rmz5Xbg3NsgykKItkmZeVRj4/GGu8ZLfFS7XNYH+lrljIWlEZf\r
30         sQTUPqaqZIgjy+EXzmPYKw/Bof97D184kjhn7W+kHkaHyd0Ma+WzAZd1a8XsbLnFVnkh\r
31         pVjlYwgDJnwG3SPZdyXvcHq2XMMjvZCvLU582jXh668hAzQKSRxDJ4rTREYTa3W1wm+S\r
32         D2PgHZuBinbDwkckgMAz51n8XjkqbvsRwg4WkgyUNz4QETmqHNHi1wyRNPy5uayC9Ckv\r
33         C6Lw==\r
34 Received: by 10.68.200.5 with SMTP id jo5mr11715417pbc.42.1333676932668;\r
35         Thu, 05 Apr 2012 18:48:52 -0700 (PDT)\r
36 Received: from localhost (215.42.233.220.static.exetel.com.au.\r
37         [220.233.42.215])\r
38         by mx.google.com with ESMTPS id b3sm4789422pbm.11.2012.04.05.18.48.50\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Thu, 05 Apr 2012 18:48:51 -0700 (PDT)\r
41 From: Peter Wang <novalazy@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH v3 2/5] test: Add tests for 'config' command\r
44 Date: Fri,  6 Apr 2012 11:48:03 +1000\r
45 Message-Id: <1333676886-9835-3-git-send-email-novalazy@gmail.com>\r
46 X-Mailer: git-send-email 1.7.4.4\r
47 In-Reply-To: <1333676886-9835-1-git-send-email-novalazy@gmail.com>\r
48 References: <1332282698-7951-1-git-send-email-novalazy@gmail.com>\r
49         <1333676886-9835-1-git-send-email-novalazy@gmail.com>\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\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, 06 Apr 2012 01:48:55 -0000\r
63 \r
64 Start a new test script.\r
65 ---\r
66  test/config       |   25 +++++++++++++++++++++++++\r
67  test/notmuch-test |    1 +\r
68  2 files changed, 26 insertions(+), 0 deletions(-)\r
69  create mode 100755 test/config\r
70 \r
71 diff --git a/test/config b/test/config\r
72 new file mode 100755\r
73 index 0000000..75f662d\r
74 --- /dev/null\r
75 +++ b/test/config\r
76 @@ -0,0 +1,25 @@\r
77 +#!/usr/bin/env bash\r
78 +\r
79 +test_description='"notmuch config"'\r
80 +. test-lib.sh\r
81 +\r
82 +test_begin_subtest "Get string value"\r
83 +test_expect_equal "$(notmuch config get user.name)" "Notmuch Test Suite"\r
84 +\r
85 +test_begin_subtest "Get list value"\r
86 +test_expect_equal "$(notmuch config get new.tags)" "\\r
87 +unread\r
88 +inbox"\r
89 +\r
90 +test_begin_subtest "Set string value"\r
91 +notmuch config set foo.bar baz\r
92 +test_expect_equal "$(notmuch config get foo.bar)" "baz"\r
93 +\r
94 +test_begin_subtest "Set list value"\r
95 +notmuch config set foo.list xxx "yyy yyy" "zzz zzz"\r
96 +test_expect_equal "$(notmuch config get foo.list)" "\\r
97 +xxx\r
98 +yyy yyy\r
99 +zzz zzz"\r
100 +\r
101 +test_done\r
102 diff --git a/test/notmuch-test b/test/notmuch-test\r
103 index f03b594..e08ec72 100755\r
104 --- a/test/notmuch-test\r
105 +++ b/test/notmuch-test\r
106 @@ -19,6 +19,7 @@ cd $(dirname "$0")\r
107  TESTS="\r
108    basic\r
109    help-test\r
110 +  config\r
111    new\r
112    count\r
113    search\r
114 -- \r
115 1.7.4.4\r
116 \r