From: Ian Jackson Date: Sun, 7 Jan 2018 13:44:38 +0000 (+0000) Subject: test suite: gnupg: Have three goes, rather than two X-Git-Tag: archive/debian/4.2~25 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=26e97d328b4c4e8d7b8a30120ac2a8dd51295c91;hp=146a5fd470b72ea0a034c1da808d78e08b203351 test suite: gnupg: Have three goes, rather than two The retry strategy is, empirically, fairly successful. But the failure probability is still high enough to be a real nuisance. Let's try running it a 3rd time if the second fails. Maybe this will reduce the overall impact. Signed-off-by: Ian Jackson --- diff --git a/tests/tstunt/gpg b/tests/tstunt/gpg index a108267d..892b9c8c 100755 --- a/tests/tstunt/gpg +++ b/tests/tstunt/gpg @@ -1,7 +1,7 @@ #!/bin/sh set -e -for attempt in '' exec; do +for attempt in '' ' ' exec; do set +e $attempt \