[PATCH 1/2] test: compute expected keyid from fingerprint

Subject: [PATCH 1/2] test: compute expected keyid from fingerprint

Date: Fri, 9 Sep 2022 18:12:50 +0200

To: notmuch@notmuchmail.org

Cc:

From: Justus Winter


---
 test/T350-crypto.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/T350-crypto.sh b/test/T350-crypto.sh
index 3c6626b4..721cbfdd 100755
--- a/test/T350-crypto.sh
+++ b/test/T350-crypto.sh
@@ -467,7 +467,7 @@ expected='[[[{"id": "XXXXX",
  "Date": "Sat, 01 Jan 2000 12:00:00 +0000"},
  "body": [{"id": 1,
  "sigstatus": [{"status": "error",
- "keyid": "6D92612D94E46381",
+ "keyid": "'$(echo $FINGERPRINT | cut -c 25-)'",
  "errors": {"key-revoked": true}}],
  "content-type": "multipart/signed",
  "content": [{"id": 2,
-- 
2.30.2

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: