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 086476DE1492 for ; Tue, 7 May 2019 06:01:44 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.158 X-Spam-Level: X-Spam-Status: No, score=-0.158 tagged_above=-999 required=5 tests=[AWL=0.043, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 Y232hVIf0J6t for ; Tue, 7 May 2019 06:01:39 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id B0EF56DE1484 for ; Tue, 7 May 2019 06:01:39 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1557234099; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=JyLpCBpRCGbzHRPZiXDR7zQikx1wyWGNHnJvwc4YPcg=; b=r0Dmovzsr6X6rTK1fdnCr7l7dUDxXw7owXPLpfY8/UBslIdyGXwlfV3v m739s8vilJpvbQCwKQdThHhpLnGDDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1557234099; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=JyLpCBpRCGbzHRPZiXDR7zQikx1wyWGNHnJvwc4YPcg=; b=E2jkCfGCDQqCZTjF6ESBlKYx0aZTgotz3PR2riSt4+J+9TzfkL7YzDzm cCfJq5y/QPbQCWLjHllgTLw/dmUIUmrvOpu+YHllKhND+ihznPVRMTA+Cw l6ZLGj5ptRn3bxu0teL+0hsPzgRpwa9gykPhwpfC8PYcANNrDLU/Fytaeh +4mnAGUqAZVdsrxGBWNrNl119ew8UY/plRuPo5XnoVI+PpV754N2hzCtQL EmB4ZfgDmlk/the6aJuIUGL0Im1mHywmVx2i2uR/cCG2Zh1pRrvQqHomcm 8QHHp3rfS34Lh8mh65iqx2l/MhMrw8UzgSN8DW0vdoXwAG/qfTCntQ== Received: from fifthhorseman.net (ool-6c3a0662.static.optonline.net [108.58.6.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id EF5D8F99D for ; Tue, 7 May 2019 09:01:38 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id 06B962094F; Tue, 7 May 2019 09:01:35 -0400 (EDT) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: [PATCH] test: avoid unnecessary extraction of the test fingerprint Date: Tue, 7 May 2019 09:01:35 -0400 Message-Id: <20190507130135.14898-1-dkg@fifthhorseman.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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, 07 May 2019 13:01:44 -0000 FINGERPRINT is already exported by add_gnupg_home, so this is unnecessary. This change also happens to get rid of the superfluous check-trustdb spew from the test suite that looked like this: gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u Signed-off-by: Daniel Kahn Gillmor --- test/T357-index-decryption.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/T357-index-decryption.sh b/test/T357-index-decryption.sh index c9cd5e30..8a2d4c02 100755 --- a/test/T357-index-decryption.sh +++ b/test/T357-index-decryption.sh @@ -8,8 +8,6 @@ test_description='indexing decrypted mail' ################################################## add_gnupg_home -# get key fingerprint -FINGERPRINT=$(gpg --no-tty --list-secret-keys --with-colons --fingerprint | grep '^fpr:' | cut -d: -f10) # create a test encrypted message test_begin_subtest 'emacs delivery of encrypted message' -- 2.20.1