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