From: Peter Wang Date: Fri, 30 Mar 2012 23:15:48 +0000 (+1100) Subject: [PATCH v2 3/5] test: Add broken test for 'config list' X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9a9c78dda0925ae88139e22558a470b38e17e5a7;p=notmuch-archives.git [PATCH v2 3/5] test: Add broken test for 'config list' --- diff --git a/0f/ce3965a24e15eecf08afa83c14baf188196bd2 b/0f/ce3965a24e15eecf08afa83c14baf188196bd2 new file mode 100644 index 000000000..9837af7de --- /dev/null +++ b/0f/ce3965a24e15eecf08afa83c14baf188196bd2 @@ -0,0 +1,96 @@ +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 C3DB9429E3D + for ; Fri, 30 Mar 2012 16:16:28 -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 MhZFaxtvv3mg for ; + Fri, 30 Mar 2012 16:16:28 -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 ADFEA431FB6 + for ; Fri, 30 Mar 2012 16:16:26 -0700 (PDT) +Received: by pbcuo1 with SMTP id uo1so2710889pbc.26 + for ; Fri, 30 Mar 2012 16:16: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=ds9nsAqlATKgTfMPdVUBYVooIdeyOY6LsauvSvcCcF4=; + b=Z3DzkshvO1cmq7HXvc1l/Y7av1ClKIxJpGTK/UslnNLzMm/zW8ji4cHVUXCHaITbJp + eb7nrHA5Ha9BGnlZvZWhGfmUMVJ0EybjHpVnyQ/0esr1DvU0XaZFufAhhQYIi19nrVxC + zvspvwws0wtXn5fBdo6bV6YZczBlerMr9mj3siqDDvMV2YDlBGYPFp3PCfyeYLwSTnu0 + 4wZV0KVJBke3nDb3mdhWvhn80Bv+TN7++5s3waH7wqIeCNcepMxJdtU7leiws3vvm8zH + kfzfQkWDwyd8cVZgUO+mIgPp0JCxCuDnVEa5+DBytYzBtDVBR+gopTw/miQo8APMleKC + lFhg== +Received: by 10.68.136.41 with SMTP id px9mr957139pbb.147.1333149385907; + Fri, 30 Mar 2012 16:16: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 w6sm8305598pbf.66.2012.03.30.16.16.23 + (version=TLSv1/SSLv3 cipher=OTHER); + Fri, 30 Mar 2012 16:16:25 -0700 (PDT) +From: Peter Wang +To: notmuch@notmuchmail.org +Subject: [PATCH v2 3/5] test: Add broken test for 'config list' +Date: Sat, 31 Mar 2012 10:15:48 +1100 +Message-Id: <1333149350-22616-4-git-send-email-novalazy@gmail.com> +X-Mailer: git-send-email 1.7.4.4 +In-Reply-To: <1333149350-22616-1-git-send-email-novalazy@gmail.com> +References: <1332282698-7951-1-git-send-email-novalazy@gmail.com> + <1333149350-22616-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: Fri, 30 Mar 2012 23:16:29 -0000 + +Proposed functionality. +--- + test/config | 16 ++++++++++++++++ + 1 files changed, 16 insertions(+), 0 deletions(-) + +diff --git a/test/config b/test/config +index d3e574c..73c58ff 100755 +--- a/test/config ++++ b/test/config +@@ -17,4 +17,20 @@ test_expect_success "Set string value" \ + test_expect_success "Set list value" \ + 'notmuch config set foo.list xxx "yyy yyy" "zzz zzz"' + ++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.bar=baz ++foo.list=xxx;yyy yyy;zzz zzz;" ++ + test_done +-- +1.7.4.4 +