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 143126DE13BE for ; Wed, 23 Nov 2016 09:58:22 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.052 X-Spam-Level: X-Spam-Status: No, score=-0.052 tagged_above=-999 required=5 tests=[AWL=-0.052] 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 3uO7UaQ65ZKk for ; Wed, 23 Nov 2016 09:58:21 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTP id 7DA506DE13AB for ; Wed, 23 Nov 2016 09:58:21 -0800 (PST) Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 9F5E6F98C; Wed, 23 Nov 2016 12:58:20 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 7BFB62018D; Wed, 23 Nov 2016 12:58:17 -0500 (EST) From: Daniel Kahn Gillmor To: David Bremner , Notmuch Mail Subject: Re: [PATCH] tests: account for varying-size OpenPGP signatures In-Reply-To: <8760neku85.fsf@tesseract.cs.unb.ca> References: <87eg23i052.fsf@alice.fifthhorseman.net> <20161123164112.27847-1-dkg@fifthhorseman.net> <8760neku85.fsf@tesseract.cs.unb.ca> Date: Wed, 23 Nov 2016 12:58:17 -0500 Message-ID: <87eg22gjt2.fsf@alice.fifthhorseman.net> MIME-Version: 1.0 Content-Type: text/plain 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: Wed, 23 Nov 2016 17:58:22 -0000 On Wed 2016-11-23 11:59:38 -0500, David Bremner wrote: > there are a bunch of sed oneliners (or perl equivalent) collected in > test-lib.sh as functions test_*_sanitize. I wonder if that would be > worthwhile here, to have one place to update regexps etc... Something > in the style of notmuch_show_sanitize wrapping a call to > notmuch_json_show_sanitize Thanks for the suggestion, please see v2 of this patch. --dkg