t7510: do not fail when gpg warns about insecure memory
commit3f88c1b524b47560a8ef520d7d702c95261d0a97
authorKyle J. McKay <mackyle@gmail.com>
Mon, 9 Mar 2015 20:03:01 +0000 (9 13:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Mar 2015 22:25:22 +0000 (10 15:25 -0700)
tree024ff180dbd52d429c36142d53297615d81a509e
parent8e92c2cf37038a3b3bb82724f018e4d0ab1180ff
t7510: do not fail when gpg warns about insecure memory

Depending on how gpg was built, it may issue the following
message to stderr when run:

  Warning: using insecure memory!

When the test is collecting gpg output it is therefore not
enough to just match on a "gpg: " prefix it must also match
on a "Warning: " prefix wherever it needs to match lines
that have been produced by gpg.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Acked-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7510-signed-commit.sh