chiark / gitweb /
test suite: stunt gnupg runs gpg again if it exits status 2
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 3 Aug 2017 21:27:28 +0000 (22:27 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 4 Aug 2017 20:44:45 +0000 (21:44 +0100)
commita6c565be751393ef52d2b74919b7ce2744019394
tree32c1d9621de54334f06604abafd09c8864d9fd41
parentce8eb52870a6c55f5b87ab8def5db27cdf03703c
test suite: stunt gnupg runs gpg again if it exits status 2

Work around gnupg agent connection races by having our stunt gpg
wrapper simply try running gpg again, once, if it exits 2.
This does not fully suppress the bug but it does significantly reduce
the probability.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
tests/tstunt/gpg