From 0215ee0d4878a343678dd0cd73e87d9e6cbc0421 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Sat, 17 Nov 2012 18:40:08 +0200 Subject: [PATCH] Re: [PATCH 1/2] test: add more informative titles to restore --accumulate tests --- e5/e3702b8774d99a89ead91b302c578ef04c1df6 | 93 +++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 e5/e3702b8774d99a89ead91b302c578ef04c1df6 diff --git a/e5/e3702b8774d99a89ead91b302c578ef04c1df6 b/e5/e3702b8774d99a89ead91b302c578ef04c1df6 new file mode 100644 index 000000000..ee8b81689 --- /dev/null +++ b/e5/e3702b8774d99a89ead91b302c578ef04c1df6 @@ -0,0 +1,93 @@ +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 6DBD9431FAF + for ; Sat, 17 Nov 2012 08:40:12 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 XlyFwJHUgW5w for ; + Sat, 17 Nov 2012 08:40:11 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 5232B431FAE + for ; Sat, 17 Nov 2012 08:40:11 -0800 (PST) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 2BCDE1000E2; + Sat, 17 Nov 2012 18:40:09 +0200 (EET) +From: Tomi Ollila +To: david@tethera.net, notmuch@notmuchmail.org +Subject: Re: [PATCH 1/2] test: add more informative titles to restore + --accumulate tests +In-Reply-To: <1353162631-7947-1-git-send-email-david@tethera.net> +References: <8762552dre.fsf@betacantrips.com> + <1353162631-7947-1-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.14+84~g8a199bf (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +Cc: David Bremner +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, 17 Nov 2012 16:40:12 -0000 + +On Sat, Nov 17 2012, david@tethera.net wrote: + +> From: David Bremner +> +> Thanks to Ethan for the suggestion. +> --- + +LGTM -- with an added bonus of known misspelling gone in commit message ;) + +Tomi + +> test/dump-restore | 4 ++-- +> 1 file changed, 2 insertions(+), 2 deletions(-) +> +> diff --git a/test/dump-restore b/test/dump-restore +> index f25f7cf..7acf7fe 100755 +> --- a/test/dump-restore +> +++ b/test/dump-restore +> @@ -39,12 +39,12 @@ test_expect_success 'Restore with nothing to do' \ +> notmuch dump > dump.actual && +> test_cmp dump.expected dump.actual' +> +> -test_expect_success 'Restore with nothing to do, II' \ +> +test_expect_success 'Accumulate with existing tags' \ +> 'notmuch restore --accumulate --input=dump.expected && +> notmuch dump > dump.actual && +> test_cmp dump.expected dump.actual' +> +> -test_expect_success 'Restore with nothing to do, III' \ +> +test_expect_success 'Accumulate with no tags' \ +> 'notmuch restore --accumulate < clear.expected && +> notmuch dump > dump.actual && +> test_cmp dump.expected dump.actual' +> -- +> 1.7.10.4 +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch -- 2.26.2