[PATCH v4 4/6] test: Add broken test for 'config list'
authorPeter Wang <novalazy@gmail.com>
Sat, 14 Apr 2012 01:41:04 +0000 (11:41 +1000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:21 +0000 (09:46 -0800)
83/a1bc7ecc7b9b159d610e5a524f87b5dbbf6d34 [new file with mode: 0644]

diff --git a/83/a1bc7ecc7b9b159d610e5a524f87b5dbbf6d34 b/83/a1bc7ecc7b9b159d610e5a524f87b5dbbf6d34
new file mode 100644 (file)
index 0000000..1caf710
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <novalazy@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 9B483431FC9\r
+       for <notmuch@notmuchmail.org>; Fri, 13 Apr 2012 18:44:26 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id hFFqJFGApvdv for <notmuch@notmuchmail.org>;\r
+       Fri, 13 Apr 2012 18:44:26 -0700 (PDT)\r
+Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com\r
+       [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 0E503431FAE\r
+       for <notmuch@notmuchmail.org>; Fri, 13 Apr 2012 18:44:25 -0700 (PDT)\r
+Received: by pbcuo1 with SMTP id uo1so4830870pbc.26\r
+       for <notmuch@notmuchmail.org>; Fri, 13 Apr 2012 18:44:25 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
+       bh=b7xZ6VRSRZDx5JI4OZ8eBHZKLqOuJxeOJtegYVOM+TA=;\r
+       b=ycmPpxcU1dfANH8AkykWjEcHwxuD966INgV3G58d+HnOelt5Udah0Fl3YdFUgjhgX4\r
+       2r+rR+fLWV+gG8i72X3WGdE2qOxUSkCkukk3yGBCGagPxPWvulNo3yzixcoUTTR1rb1+\r
+       yEtln/Moonv9yDTtYZQjItF2x9zqJ8dJMgFaEyXgAm+VXpYSLhAMWhC+EhO2fm9tUKI+\r
+       Ijy0zTEYe3y4IZkYIyStvXska8F6iAVGXcUuSD3VshDPuJ/duJhZ3pLampl8N+0PBgFy\r
+       zhEYuWR8Szwx4xTiQLviN8I6Z99sng/XS6Lf8R3AMy1VZpnp6hx8XED3BQ0ZpDCoHDJl\r
+       6AoA==\r
+Received: by 10.68.222.134 with SMTP id qm6mr9201271pbc.14.1334367865308;\r
+       Fri, 13 Apr 2012 18:44:25 -0700 (PDT)\r
+Received: from localhost (215.42.233.220.static.exetel.com.au.\r
+       [220.233.42.215])\r
+       by mx.google.com with ESMTPS id l4sm10267122pbl.27.2012.04.13.18.44.22\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Fri, 13 Apr 2012 18:44:24 -0700 (PDT)\r
+From: Peter Wang <novalazy@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v4 4/6] test: Add broken test for 'config list'\r
+Date: Sat, 14 Apr 2012 11:41:04 +1000\r
+Message-Id: <1334367666-10954-5-git-send-email-novalazy@gmail.com>\r
+X-Mailer: git-send-email 1.7.4.4\r
+In-Reply-To: <1334367666-10954-1-git-send-email-novalazy@gmail.com>\r
+References: <1332282698-7951-1-git-send-email-novalazy@gmail.com>\r
+       <1334367666-10954-1-git-send-email-novalazy@gmail.com>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 14 Apr 2012 01:44:26 -0000\r
+\r
+Proposed functionality.\r
+---\r
+ test/config |   16 ++++++++++++++++\r
+ 1 files changed, 16 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/test/config b/test/config\r
+index 9030154..3bf8098 100755\r
+--- a/test/config\r
++++ b/test/config\r
+@@ -42,4 +42,20 @@ test_begin_subtest "Remove non-existent key"\r
+ notmuch config set foo.nonexistent\r
+ test_expect_equal "$(notmuch config get foo.nonexistent)" ""\r
+ \r
++test_begin_subtest "List all items"\r
++test_subtest_known_broken\r
++notmuch config set database.path "/canonical/path"\r
++output=$(notmuch config list)\r
++test_expect_equal "$output" "\\r
++database.path=/canonical/path\r
++user.name=Notmuch Test Suite\r
++user.primary_email=test_suite@notmuchmail.org\r
++user.other_email=test_suite_other@notmuchmail.org;test_suite@otherdomain.org\r
++new.tags=unread;inbox;\r
++new.ignore=\r
++search.exclude_tags=\r
++maildir.synchronize_flags=true\r
++foo.string=this is another string value\r
++foo.list=this;is another;list value;"\r
++\r
+ test_done\r
+-- \r
+1.7.4.4\r
+\r