chiark / gitweb /
test suite: gnupg: Have three goes, rather than two
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 7 Jan 2018 13:44:38 +0000 (13:44 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 7 Jan 2018 16:18:53 +0000 (16:18 +0000)
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 <ijackson@chiark.greenend.org.uk>
tests/tstunt/gpg

index a108267d3ce568edc4abaaa1711ac1d3a8050778..892b9c8cf446b255a221276463553c88fc83a0f7 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e
 
-for attempt in '' exec; do
+for attempt in '' ' ' exec; do
 
 set +e
 $attempt                                               \