From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id BF7F86DE1403 for ; Tue, 28 Mar 2017 04:09:10 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.005 X-Spam-Level: X-Spam-Status: No, score=-0.005 tagged_above=-999 required=5 tests=[AWL=0.006, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yPCaKwm50gla for ; Tue, 28 Mar 2017 04:09:10 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 273816DE1402 for ; Tue, 28 Mar 2017 04:09:10 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1csozB-0001ym-CH; Tue, 28 Mar 2017 07:08:25 -0400 Received: (nullmailer pid 16327 invoked by uid 1000); Tue, 28 Mar 2017 11:09:05 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 2/2] cli/dump: fix bug in dump header Date: Tue, 28 Mar 2017 08:09:03 -0300 Message-Id: <20170328110903.16252-3-david@tethera.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170328110903.16252-1-david@tethera.net> References: <20170328110903.16252-1-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Tue, 28 Mar 2017 11:09:10 -0000 Fix copy paste error. --- notmuch-dump.c | 2 +- test/T240-dump-restore.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/notmuch-dump.c b/notmuch-dump.c index 0cbcdc16..e451ac0c 100644 --- a/notmuch-dump.c +++ b/notmuch-dump.c @@ -84,7 +84,7 @@ print_dump_header (gzFile output, int output_format, int include) sep = ","; } if (include & DUMP_INCLUDE_TAGS) { - gzprintf (output, "%sproperties", sep); + gzprintf (output, "%stags", sep); } gzputs (output, "\n"); } diff --git a/test/T240-dump-restore.sh b/test/T240-dump-restore.sh index f626a19e..a4eab65e 100755 --- a/test/T240-dump-restore.sh +++ b/test/T240-dump-restore.sh @@ -4,7 +4,6 @@ test_description="\"notmuch dump\" and \"notmuch restore\"" NOTMUCH_NEW > /dev/null test_begin_subtest "dump header" -test_subtest_known_broken cat < EXPECTED #notmuch-dump batch-tag:2 config,properties,tags EOF -- 2.11.0