mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test/crypto: disable gpg version printing
This was causing test failures because version strings varied in length between GNU/Linux and GNU/KFreeBSD. One can also imagine different versions of gnupg causing the same failure.
This commit is contained in:
parent
118731254b
commit
456799d514
1 changed files with 5 additions and 4 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue