X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fcrypto;h=9e5ff4f7d97c3183178717ab6fb8a81398bd9251;hb=456799d514473187758f51c0569b0676575db978;hp=aa96ec228ca082cb8f7a125064883a2f76b7ae58;hpb=732f50a20aac461101986fafec95771c8a686ebe;p=notmuch diff --git a/test/crypto b/test/crypto index aa96ec22..9e5ff4f7 100755 --- a/test/crypto +++ b/test/crypto @@ -19,6 +19,7 @@ add_gnupg_home () elif (gpg --debug-quick-random --version >/dev/null 2>&1) ; then echo debug-quick-random >> "$GNUPGHOME"/gpg.conf fi + echo no-emit-version >> "$GNUPGHOME"/gpg.conf } ################################################## @@ -62,7 +63,7 @@ expected='[[[{"id": "XXXXX", "content": "This is a test signed message.\n"}, {"id": 3, "content-type": "application/pgp-signature", - "content-length": 315}]}]}, + "content-length": 280}]}]}, []]]]' test_expect_equal_json \ "$output" \ @@ -97,7 +98,7 @@ expected='[[[{"id": "XXXXX", "content": "This is a test signed message.\n"}, {"id": 3, "content-type": "application/pgp-signature", - "content-length": 315}]}]}, + "content-length": 280}]}]}, []]]]' test_expect_equal_json \ "$output" \ @@ -130,7 +131,7 @@ expected='[[[{"id": "XXXXX", "content": "This is a test signed message.\n"}, {"id": 3, "content-type": "application/pgp-signature", - "content-length": 315}]}]}, + "content-length": 280}]}]}, []]]]' test_expect_equal_json \ "$output" \ @@ -354,7 +355,7 @@ expected='[[[{"id": "XXXXX", "content": "This is a test signed message.\n"}, {"id": 3, "content-type": "application/pgp-signature", - "content-length": 315}]}]}, + "content-length": 280}]}]}, []]]]' test_expect_equal_json \ "$output" \