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 11684429E27 for ; Thu, 5 Apr 2012 18:49:06 -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 C+OpJpFyiqJO for ; Thu, 5 Apr 2012 18:49:05 -0700 (PDT) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C9EA7429E26 for ; Thu, 5 Apr 2012 18:48:58 -0700 (PDT) Received: by mail-pz0-f45.google.com with SMTP id x6so2370746dac.18 for ; Thu, 05 Apr 2012 18:48:58 -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=Isb605aI+/4uFo/33Y5FwhqfctPYD7ox8aKdTtg0M6k=; b=N5Lk+7EKetqEF/vUdehIKbnXvR/DhTR3daoRaG7556cw+wvfnuxbD3KHiyDu2qNcAj npQaKXZqK/fJi+1CGkaQU1P7Ajq8HIE4g/ifEL62MaM0P7la5F1kVFAx3XU7v877Sxwa Yv2BAxX7JApJn2ig/X8kuZ6jM27KlztI0U9CDmKjp14NZyfU43Hz5mxu65x3HBZEfIyr LLlwl6KeJdeOnhKJRDYLtDVyqtw3kZkF8RNgmFLUBXfu4PgqFS94AY2m8LZv1gTQAwi+ rCBMMNAJdfJJPQiKOvYdxgEeKtakyDkWbrqoyA3gNUCel5NikWftMtZsEaDoF4YpwGWQ 2K3Q== Received: by 10.68.200.104 with SMTP id jr8mr11209767pbc.164.1333676938550; Thu, 05 Apr 2012 18:48:58 -0700 (PDT) Received: from localhost (215.42.233.220.static.exetel.com.au. [220.233.42.215]) by mx.google.com with ESMTPS id k9sm4778802pbf.65.2012.04.05.18.48.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 18:48:57 -0700 (PDT) From: Peter Wang To: notmuch@notmuchmail.org Subject: [PATCH v3 3/5] test: Add broken test for 'config list' Date: Fri, 6 Apr 2012 11:48:04 +1000 Message-Id: <1333676886-9835-4-git-send-email-novalazy@gmail.com> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1333676886-9835-1-git-send-email-novalazy@gmail.com> References: <1332282698-7951-1-git-send-email-novalazy@gmail.com> <1333676886-9835-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, 06 Apr 2012 01:49:06 -0000 Proposed functionality. --- test/config | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/test/config b/test/config index 75f662d..cce2abc 100755 --- a/test/config +++ b/test/config @@ -22,4 +22,20 @@ 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